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

Top 20

Hello Guys,

I need your helps as usual

I have a table that contains a measure count (case) and field details, I wanna display the TOP 20 detail according to their count (case) and whene two details have the same count(case) display only the first :

Capture.PNG

the measure count (case)

4 Replies
sunny_talwar

You want over top 20 or top 20 per type cas?

master_student
Creator III
Creator III
Author

Top 20 details according to their count case

avinashelite

add the calculated dimension for details like below

if(aggr(rank(count(case)),Detail,Type cas)<=20,Detail)

sunny_talwar

May be like this

=If(Num(Num#(Rank(Count(Case), 0, 2))) < 21, Count(Case))