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: 
Noor51
Contributor III
Contributor III

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
Partner Ambassador/MVP
Partner Ambassador/MVP

Add a set expression to remove Hikma like:

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

-Rob

View solution in original post

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/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
Partner Ambassador/MVP
Partner Ambassador/MVP

Add a set expression to remove Hikma like:

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

-Rob

Noor51
Contributor III
Contributor III
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
Partner Ambassador/MVP
Partner Ambassador/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