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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mingyu
Contributor III
Contributor III

Bar chart changes color based on the measurement

The dimensions of the bar chart are Site, Measure 1 is Days1, Measure 2 is Days2, Measure 3 is Days4. I want Days1 to be displayed in white, Days2 in green, and Days3 in red. How do I write the color expression?

mingyu_0-1714960292784.png

 

Labels (2)
3 Replies
MATC
Contributor III
Contributor III

You can use master measures which have functionality of setting color to each one of them. 

mingyu
Contributor III
Contributor III
Author

Hi,Can you demonstrate how to implement it?

MATC
Contributor III
Contributor III

Sure,
On your panel on the right when you select desired measure on the bottom there is this panel that you can use to add this measure directly to master measures and then you can pick a color for this measure. But this is static and this color will always represent this measure on the graphs

MATC_0-1715154835363.png

MATC_1-1715154968133.png