Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
bvssudhakar
Creator III
Creator III

How to show top 5 labels for each country in table/Pivot table and maps in qlik sense

Hi Community,

 

I have query, here i am attaching one excel, from that excel i need to show

Top 5 shortdescriptions for each country based risk rating rating column in table / pivot table

And also i need to show in maps also

 

Can you guys please help me out from this

 

Thanks & Regards,

B V S Sudhakar

Labels (2)
3 Replies
bvssudhakar
Creator III
Creator III
Author

Simplest way to understand i need to show like this

 

Select Unit, shortdescription, Riskrating from ERM.Risk

order by Unit, Riskrating Desc, shortdescription

 

Please help me out from this

Channa
Specialist III
Specialist III

 

top 10 lables

 

pass Cuntry into variable vCountry

after you select country below expression will bring top 10 lables

=If( country=vCountry and Aggr(Rank(Sum(Value)),label)<=10,label)

 

Channa
bvssudhakar
Creator III
Creator III
Author

Hi

 

With out selecting country name i need to show top5 lables by rating wise for each country