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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
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

Labels (1)
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
MVP
MVP

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?