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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

Showing top 10 by button

Hi Community Team,

I have requirement like below

I wanted to show top 10 countries by button

I created a Pivot table in that dimension is Country and expression1 - sum(sales), expression2 - sum(sales1) - expression 2 used for only sorting and its hidden in presentation tab.

so, once I click on button then top 10 countries should show.

Please help me.

22 Replies
Anonymous
Not applicable

Sorry..not clear..I thought you already sorting (country) using an expression..

Not applicable

Hi Priya,

I tried a different approach and it is working for me.

Please find the attached qvw hope it will help you.

Thanks,

Harika

Anonymous
Not applicable

Hi Priya,

You can sort the Country column by Sales.

Sorting.JPG

Create a variable and set its value in Action tab of the button. Then set the Dimension limit in your chart.

Limit.JPG

And your Top3 values would be

Top_3.JPG

Hope this what you are looking for!

Regards,

Laxmi