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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
markp201
Creator III
Creator III

Custom color by measure...

My dimension is rstate and I have two expressions using set analysis

sum({$<region={South}>}sales)  //States in the south region

sum({$<region={North}>}sales)  //States in the north region

I have the following for the color

Colors and legends - Custom color - by expression

=IF(region='South',RGB(141,170,203),RGB(252,115,98))

All bars are red and I think I understand is the expression being checked is the dimension value

This is easy in Qlikview with the backcolor for expression but in Qlik sense - not so much.  Hoping there is a non-extension work around.

BTW - I would prefer not to add region as a dimension

Thanks

1 Solution

Accepted Solutions
Quy_Nguyen
Specialist
Specialist

You can add your 2 measures in master item, then choose the color for it. In the chart, let the color Auto

View solution in original post

1 Reply
Quy_Nguyen
Specialist
Specialist

You can add your 2 measures in master item, then choose the color for it. In the chart, let the color Auto