Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

msawyercke
New Contributor III

Pie Chart Colors

Good Afternoon,

I use the following expression to try to use my own colors in a pie chart ("Custom Colors", "By Expression"):

If ([GR Status] = 'Not Growth Ready', LightRed(),

If ([GR Status] = 'Growth Ready', LightGreen(),

If ([GR Status] = 'Potentially Growth Ready', Yellow())))

This doesn't work in changing the colors of the 3 slices, all 3 pie slices are gray....

Why isn't this working properly?

Thanks much!

5 Replies
Digvijay_Singh
Honored Contributor III

Re: Pie Chart Colors

Not sure but it works as shown in attached image if there is any other complexity is not allowing it to work,

Capture.PNG

OmarBenSalem
Esteemed Contributor

Re: Pie Chart Colors

it should be working; but It's better to facilitate things and do things as follow:

Assigning colors to master dimension values - Qlik Sense - YouTube

msawyercke
New Contributor III

Re: Pie Chart Colors

Hi Digvijay,

I have the same screenshot as you and mine chart is not colored correctly.  As you can see the same formula does work in the table, however...just not in the pie chart...

Capture.JPG

msawyercke
New Contributor III

Re: Pie Chart Colors

Omar,

My version of Qlik Sense does not offer the color selection options in Master Dimensions as shown in the video:

Capture.JPG

I wish it did offer it! 

Thank You for trying to help...

Re: Pie Chart Colors

Can you share QVF, Where it doesn't work for you

Community Browser