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: 
Subba55
Contributor III
Contributor III

How to give colours in expression

Hi guys,

I have a bar chart, I want to show colour in measures, I have two measures,

I want to show one measure in orange and another measure blue.

How to write expression in colours.

Please help me.

Thanks in advance.

Regards,

Subba Reddy

2 Replies
Vegar
MVP
MVP

Assuming you have a bar chart with a dimension names "Gender". If you need a conditional color statement you can do like this:

If(Gender='Female', rgb(255,192,203),If(Gender='Male',rgb(137,207,240), Lightgray())

 

Jayavignesh
Contributor III
Contributor III

You can also add the expression into master measure and use colur by value option to set colors.