Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
March 26 at 10am ET: See how Qlik drives growth and value in ISV segment - REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
TT
Partner - Contributor
Partner - Contributor

Color 'Others' part by expression (Pie Chart)

Hello Qlik Community,

Hope you are all fine !

I want to color 'other' part in a Pie chart by an expression which detects in which category my customer is. The category depends on the partner selected.

It seems that 'Others = Autres' cannot be in a specific color with an expression.

TT_0-1649953917951.png

Have you got any ideas on this subject please ?

Regards,

T.T

Labels (5)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

instead of using field limitation = 10, use a calculated dimension

example

Dimension = 

if(aggr(rank(sum(MeasureField),4,2), YourDimension) <=10 , YourDimension , 'Others')

 

In Colors > choose Color by Expression

= if(Rowno()=11, red(), yellow())

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

1 Reply
vinieme12
Champion III
Champion III

instead of using field limitation = 10, use a calculated dimension

example

Dimension = 

if(aggr(rank(sum(MeasureField),4,2), YourDimension) <=10 , YourDimension , 'Others')

 

In Colors > choose Color by Expression

= if(Rowno()=11, red(), yellow())

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.