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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Noor51
Creator
Creator

How do I not show some dimension value in a pie chart?

Hello, 

I have a pie chart that I create, but I don't want to show a one value of the dimension. I don't want to remove the  data, I just want to change the order. The chart shows the top 10 companies in the market. 

 

I heard that script chart could maybe do it, but I don't know how to though. Down below is the chart. I want to ignore Hikma for the top 10.

 

Noor51_0-1712773047052.png

 

Labels (1)
2 Solutions

Accepted Solutions
rwunderlich
MVP
MVP

Add a set expression to remove Hikma like:

{<Company-={'Hikma'}>}

-Rob

View solution in original post

rwunderlich
MVP
MVP

You could put Hikam in the Others by using a calculated Dimension like:

=Aggr(if(Rank(Sum({<Customer-={'Hikma'}>}Sales)) <=10, Customer, 'Others'), Customer)

or if Sum(Sales) is already a Master Measure named Sales:

=Aggr(if(Rank({<Customer-={'Hikma'}>}Sales) <=10, Customer, 'Others'), Customer)

-Rob

View solution in original post

3 Replies
rwunderlich
MVP
MVP

Add a set expression to remove Hikma like:

{<Company-={'Hikma'}>}

-Rob

Noor51
Creator
Creator
Author

Thanks for the solution. Is there a way so that it hide it because the % changes when I use it and I don't want the % to change? Or is there a way to put Hikma in the others section? 

 

Thanks

Gurnoor

rwunderlich
MVP
MVP

You could put Hikam in the Others by using a calculated Dimension like:

=Aggr(if(Rank(Sum({<Customer-={'Hikma'}>}Sales)) <=10, Customer, 'Others'), Customer)

or if Sum(Sales) is already a Master Measure named Sales:

=Aggr(if(Rank({<Customer-={'Hikma'}>}Sales) <=10, Customer, 'Others'), Customer)

-Rob