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: 
EllePL
Contributor
Contributor

How to include specific value into others on chart?

Hello

I hope you can help me with my issue.

I have Country dimension and I would like to create TOP10 chart based on some measures. I would like to show Others, but in this Others I would like to always consider country ABC. It doesn’t matter for me if it’s 3rd in rank. Always should be in Others.

I don’t want to exclude from measure or data set, because I still need my total as correct number.

Do you have any idea how to do it in the best way?

Thanks in advance!

Labels (1)
2 Replies
brunobertels
Master
Master

Hi 

may be this 

assuming sum(SALES) is your mesure :

Aggr(IF(Rank(SUM({<[Country] -= { 'ABC' }>} [SALES]),4)<=10, [Country],Null() ) , [Country])

or

=if(Aggr(Rank(sum({<[Country] -= { 'ABC' }>} [SALES])),[Country])<=10,[GCountry] , Null() )

EllePL
Contributor
Contributor
Author

Unfortunatelly both solution are not working.

 

Chart cannot bez diaplayed, because include only negative or null values