Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
mikecrengland
Creator III
Creator III

How do i specify the colors of a bar chart

Hello -

I'm using Qlik Cloud and have a stacked bar chart with a dimension of Week and two expressions. I want to specify the colors of the bars, but can't figure out the color expression. I'm in the 'Colors and legend' section and chose 'Custom' and 'By expression'. My expression names are [Top 106] and [Non-Compliant] . vTop106Color and vTop53Color are the variables holding the colors.

I tried this, but no luck:

=If([Top 106], vTop106Color,vTop53Color)

Thanks!

Labels (3)
1 Solution

Accepted Solutions
anat
Master
Master

You may try using master dims/ measures

View solution in original post

2 Replies
poklegoguy
Creator
Creator

You can try to convert the bar chart to a combo chart, as in combo chart, you can specify colors of each measure element in "More Properties". Otherwise, you can create master measures for your expressions and specify the 'measure color' for the master measures in the configuration. 

anat
Master
Master

You may try using master dims/ measures