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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to create hexcolors with expression in pie chart (dynamic number of values)

Hi Community,

I would like to create a pie chart, filled with my own colors (for example: #AAAAAA,#BBBBBB,#CCCCCC).

My dimension can have 1 to 10 possible values, in my example: 3:

Dimension.PNG

Most common value must have  #AAAAAA, 2nd: #BBBBBB, 3rd: #CCCCCC

How to realise this? I tried options like firstsortedvalue in combination with a if condition and with use of a variable, but I hope anybody can help me.

Thanks in advance!!

Grtz. Pascal

0 Replies