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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
csmqlik01
Contributor III
Contributor III

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

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

Capture.PNG

csmqlik01
Contributor III
Contributor III
Author

Thanks Omar