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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
MVP
MVP

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
MVP
MVP

May be this

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

sunny_talwar
MVP
MVP

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
MVP
MVP

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