Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Is there a way to filter top 5 selling countries on a map chart?
I have Country (country_name) as a point layer and used Sales (sales_amount) in the following expression:
Aggr(Max(sales_amount), country_name)
It's seems that the expression works, but how do I get the top 5 Countries? I tried using 'Rank' in the expression but it only returned 1 Country:
Aggr(Rank(Max(sales_amount),country_name),<=5)
Best regards,
Linas
Funny, this shows all the Countries, but top 4 have large circles. Changed from '<= 5' to '<= 6' and can see top 5 selling countries with large (same size) circles + the rest in tiny little circles.
It's not exactly what I have been looking for, but sufficient enough!
Thanks Mario!
ok. don't forget to close the thread and mark an answer. so that others can search the forum whenever they come to the same scenario.
Strangely, the rest (not top 5) all show same Sales amount... must be a bug..
can you send an image of your expression and result ?
Hi Mario,
Can you send me your email, as for confidentiality reasons I don't want to post any images on Qlik community page.
Many thanks,
Linas