Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Left accumulated frequency

Hi!


I'm trying to make a left cumulative graph on qliksense to count all items with score greater than X.

This code counts the correct items: sum(if(erp_department_compare='True',1,0). How to get, for each score X, a sum of all items with the score greater than X?

Thanks!

1 Solution

Accepted Solutions
sunny_talwar

May be this (not 100% confident):

Sum(TOTAL If(erp_department_compare = 'True',1, 0)) - RangeSum(Above(Sum(If(erp_department_compare = 'True',1, 0)), 0, RowNo()))

View solution in original post

5 Replies
sunny_talwar

May be this

RangeSum(Above(Sum(If(erp_department_compare = 'True',1, 0)), 0, RowNo()))

sunny_talwar

Or you can try this:

RangeSum(Above(Sum({<erp_department_compare = {'True'}>} 1), 0, RowNo()))

Not applicable
Author

This corresponds to a right cumulative. I need the opposite. Thanks!

sunny_talwar

May be this (not 100% confident):

Sum(TOTAL If(erp_department_compare = 'True',1, 0)) - RangeSum(Above(Sum(If(erp_department_compare = 'True',1, 0)), 0, RowNo()))

Not applicable
Author

Correct! Thanks