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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

display top n in pivot table

Good evening friends

I am facing  a problem and I need your help

I try to display the first 10 sales per country in a Pivot table

sales.PNG.png

so I added this expression in dimensions

Capture.PNG.png

and as a result I have

Capture.PNG.png

as you can see  for 2010 it gives a result USA-> France-> germany   and the logical order and it

  USA-> France-> UK why?

Thank you for your answers

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Your expression aggregates only per country so you get the ranking of countries without considering the year dimension (which is not in the aggr definition). That's why you see the same three countries listed for each year.


talk is cheap, supply exceeds demand