Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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