Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

Top N or Bottom N rows

Hi There

I want to get Top N or Bottom N rows in Qlik Sense.


Can you suggest how to achieve this?


Thanks in advance.

2 Replies
sunny_talwar

OmarBenSalem

Suppose you have a dimension : dim1 and you want to rank your dim1 based on sum(Measure)

do as follow:

a table:

as dimension: dim1

as measure:

rank(aggr(sum(Measure),dim1))