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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis

How can we arite a Set Analysis expression for displaying values corresponding to onlly top 20 rows of field. Expression should exclude all other values and show just top 20 rows values.

Please help.

3 Replies
MK_QSL
MVP
MVP

Use Dimension Limit

JonnyPoole
Former Employee
Former Employee

Here is the screenshot to assist

Dimension limits are available on charts and relate to the first expression (see below).

If you decide to  'show others' , make the number 21 (others counts as a display row...so top 20 + others = 21)

Capture.PNG.png

JonnyPoole
Former Employee
Former Employee

or if you need to do it on other expressions ( not the first)  then your set analysis will be something like this:

=sum( {$<Country = {"=rank(Total sum(Sales)) <= 20"}>} Sales )