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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Channa
Specialist III
Specialist III

Ranking

i am showing top 30 countries by using below expression in GEO map

 

=If(Aggr(Rank(Sum(CUSTOMS_VALUE_QAR)),COUNTRY_NAME_EN)<=30,COUNTRY_NAME_EN)

 

measure :sum(sales)

I have second chart by Product wise Sum(sales)

 

in that second chart i want to show only sales for top 30 countries

any advice

Channa
Labels (2)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be try this

Sum({<COUNTRY_NAME_EN = {"=Rank(Sum(CUSTOMS_VALUE_QAR)) <= 30"}>}CUSTOMS_VALUE_QAR)

View solution in original post

3 Replies
Channa
Specialist III
Specialist III
Author

=If(Aggr(Rank(Sum(CUSTOMS_VALUE_QAR)),COUNTRY_NAME_EN)<=30,sum(CUSTOMS_VALUE_QAR))

 

i tried this expression but dosent work

Channa
sunny_talwar
MVP
MVP

May be try this

Sum({<COUNTRY_NAME_EN = {"=Rank(Sum(CUSTOMS_VALUE_QAR)) <= 30"}>}CUSTOMS_VALUE_QAR)
Channa
Specialist III
Specialist III
Author

Perfect bro thank you

Channa