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

Display top 5 values in a Graph

Hello,

I am trying to display the largest 5 values in a bar graph in Qlik Sense. Can someone please help me through it?

Thanks,

Roshni.

3 Replies
dominicmander
Partner - Creator
Partner - Creator

Hi Roshni,

In the options for your bat chart, if you expand the dimension, you should see a button for Limitations that allows you to set 5. The you just need to make sure the sort is configured to sort descending, and you will have your top 5.

marcus_sommer

Here Show Top Performers are various methods how it could be done with qlikview - dimension limits seems to be not available in sense but the calulated dimension with aggr could be working, something like this:


AGGR(IF(Rank(sum(Sales), 4)<=5, Item), Brand, Item)


- Marcus

HirisH_V7
Master
Master

Hi,

Top 5:

SUM({<Product = {"=Rank(SUM({<Type = {'AC'}>}Value),4)<=5"}>}Value)

Bottom 5:

SUM({<Product = {"=Rank(-SUM({<Type = {'AC'}>}Value),4)<=5"}>}Value)

HTH,

Hirish

HirisH