
Contributor III
2021-06-06
10:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

MVP
2021-06-07
01:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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())
Vegar
Qlik Community MVP
Qlik Community MVP

Contributor III
2021-06-07
03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can also add the expression into master measure and use colur by value option to set colors.
