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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Custom colors for stack bar chart

I know there have already been numerous discussions related to color expressions, but I could still use some help.

In QlikSense, I have a stacked bar chart with 1 dimension of Year-Quarter and then 3 measures for Costs, Sales, and Revenue.

How can I color each Cost, Sales, and Revenue segment? I can't add a second dimension since I have too many measures.

Thanks in advance!

1 Reply
Anonymous
Not applicable
Author

Unfortunately, there is no direct way to color stacked bar.

But it is possible - you have to create "Master measures" for Costs, Sales and Revenue.

(Master items->Measures->Create new)

Then you can choose color for each measure.

Note: It works from version 3.2.