Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

csmqlik01
New Contributor II

Qlik Sense color on expression for measures

Hi,

In Qlik Sense you can color via the dev-hub the sheet objects.

If you go back to desktop en open the chart, I have following expression for color

pick(mod(rank(TOTAL Column(1))-1,2)+1 ,argb(255,0,104,168),argb(255,98,173,45))

you can add more colors for an pie chart,

but I have bar chart with two measures how can I change this code for two measures , if execute this I get this result

My second measure is a line, so I want the bar in one color and the line in the other color

Best regards

2 Replies
omarbensalem
Esteemed Contributor

Re: Qlik Sense color on expression for measures

Create your 2 measures as master measures and assign the color to each measure there:

Capture.PNG

csmqlik01
New Contributor II

Re: Qlik Sense color on expression for measures

Thanks Omar