Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sifatnabil
Specialist
Specialist

Rank function: Top 10 but count greater than 1

Hi, I am using the below rank function in a chart dimension but want to exclude any DeskName where count(if(Late='Y'))=1, i.e. only include a top 10 of those with count greater than 1. How can I put this condition in the dimension field?

=aggr(if(Rank(count(if(Late='Y',Id)))<=10,DeskName),DeskName)

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

=aggr(if(Rank(If(count(if(Late='Y',Id))>1,count(if(Late='Y',Id))))<=10,DeskName),DeskName)

Select "Suppress When value is Null"

View solution in original post

1 Reply
anbu1984
Master III
Master III

=aggr(if(Rank(If(count(if(Late='Y',Id))>1,count(if(Late='Y',Id))))<=10,DeskName),DeskName)

Select "Suppress When value is Null"