Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
I'm new to Qliksense and I'm stuck. To make it simple, I created my chart and defined the colors by an expression, except that I don't know how to map a color to a label.
i.e., green is A, blue is B
=If(BRANCHE='SANTE' and STD_DSN <>'CCN', 'green',if(BRANCHE='SANTE' and STD_DSN='CCN','lightgreen',
If(BRANCHE='PREVOYANCE' and STD_DSN <>'CCN','blue',If(BRANCHE='PREVOYANCE' and STD_DSN='CCN','lightblue'
))))
So if i get it correctly you just want to have custom colors on your dimension?
you could go to the master dimension (or create a new one) of this Dim and set the colors there:
Hi Chris,
Sorry for the delay. Thats exactelly what I needed. Thank you so much!!
What do you mean by 'map a color to a label' ?
Do you looking for a kind of legend where you can say: everything that is green belongs to group A?
please provide some more details or examples of what is your goal.
Hi Chris, thanks for your reply.
If I dont use the expression to color my graphic, that its what I got (I have the legend like you can see at the bottom).
So if i get it correctly you just want to have custom colors on your dimension?
you could go to the master dimension (or create a new one) of this Dim and set the colors there:
Hi Chris,
Sorry for the delay. Thats exactelly what I needed. Thank you so much!!