Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Cumulative Expression in Graph

Hello,

I need to do an acummulative expresion in a graph from the expression: Sum(distinct sales).

the only dimension in the graph is year.

hoping you can help me

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

rangesum(above(sum(distinct sales),0,RowNo()))

View solution in original post

2 Replies
Anonymous
Not applicable
Author

rangesum(above(sum(distinct sales),0,RowNo()))

sunny_talwar

Its not a good idea to do distinct sum of sales... What if you have data like this

Year     Employee    Sales

2010 Shyam          50

2010     Ram          50

2010     Rakesh     70

Sum(DISTINCT Sales) = 120, I don't think you would want this, do you?