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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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
Partner - Champion II
Partner - Champion II

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