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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

Change Bar chart Color as per measures

Hi There

I want to change color of Bars as per the measures.

Please find attached screenshot for your reference,

I am looking for something like this ,

Budget = Green

Forecast = Orange

Actuals = Red

Thanks for your help.

1 Solution

Accepted Solutions
fabdulazeez
Partner - Creator III
Partner - Creator III

12 Replies
Chanty4u
MVP
MVP

attachment missing

ashishpalkar
Creator III
Creator III
Author

Added

Chanty4u
MVP
MVP

did you tried colurs legend tab by measure?

Chanty4u
MVP
MVP

here is the best example i found for you check this migh help you

create a dummy dim with expresion use pick match

Custom color by expression for two different expressions

ashishpalkar
Creator III
Creator III
Author

Yes, it doesn't mentioned which Color to use for specific measure.

Chanty4u
MVP
MVP

try this

if(measure=measure1,rgb(127,255,127),if(measure=measure2,rgb(255,127,127)))

fabdulazeez
Partner - Creator III
Partner - Creator III

I think you can add attach colors to master measure .

Than in colors & legend section of chart you can say use library colors measure

ashishpalkar
Creator III
Creator III
Author

It shows bad field name for 'measure', we cannot define measure = measure1

fabdulazeez
Partner - Creator III
Partner - Creator III

master measure.PNGCapture.PNG