Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rank function

Hi everybody,

I try to create table like this :

|0-10% best customers|Number of customers|

|10-20% best customers|Number of customers|

|20-30% best customers|Number of customers|

..

For the first column, I was thinkg to use the rank function !

=if(rank(Aggr(sum(PRODUCT), CUSTOMER)) > 0.01*count(CUSTOMERS), '0-10% best customers', 'Others')

But when I use the rank function, I have an error.

Any ideas ?

Thanks !

1 Solution

Accepted Solutions
Not applicable
Author

For information, function fractile() do this.

example :

http://www.qlikfix.com/2010/10/08/decile-analysis/

View solution in original post

1 Reply
Not applicable
Author

For information, function fractile() do this.

example :

http://www.qlikfix.com/2010/10/08/decile-analysis/