Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Edytagra
Contributor II
Contributor II

TOP 5 values in straight table

Hi guys,

I am struggling to solve the issue with showing only five highest values in QS.

I have a table as below ( with more positions of course):

[Country name]Sum([Quantity in KG])
Ukraine25 222 333
Germany25 169 321
France15 322 364

 

I fund command which i thought is helpful to ranka values and unfortunately it does not work:

Rank(Aggr(Sum([[Quantity in KG]]]), [[Country name]]]))

then I wanted to show just TOP 5 values and cannot find good solution.

Any suggestions?

 
Labels (3)
1 Solution

Accepted Solutions
JordyWegman
Partner - Master
Partner - Master

Hi Edytagra,

Try to make it a bit easier. Go to your dimension and show TOP, then enter 5 and exclude others.

See example:

2020-01-14 14_27_07-Qlik Sense Desktop.png

Jordy

Climber

Work smarter, not harder

View solution in original post

2 Replies
JordyWegman
Partner - Master
Partner - Master

Hi Edytagra,

Try to make it a bit easier. Go to your dimension and show TOP, then enter 5 and exclude others.

See example:

2020-01-14 14_27_07-Qlik Sense Desktop.png

Jordy

Climber

Work smarter, not harder
Edytagra
Contributor II
Contributor II
Author

Thank you very much. I got it but cannot sort it. I choose  sorting via value from highest to lowest and table does not show it correctly.