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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Strwbryshwty
Partner - Contributor
Partner - Contributor

Grouped Bar Chart - Setting Colors

Hello All, 

I created a grouped bar chart that I need help setting the colors for. 

It is a horizontal bar chart, displaying the total amount and absolute value of total amount on the bars for two types of products (A & B). So there are a total of four bars (2 for each product type). 

Is it possible to have the bars be set to different colors? I want the bars for each product type to be a different color, with the total amount being darker and absolute value of total amount to be a lighter color. For example:

Product A, Total Amount : dark blue 

Product A, Abs Value Total Amount : light blue 

Product B, Total Amount : dark purple 
Product B, Abs Valie Total Amount : light purple 

Labels (2)
1 Reply
Muthukumar_77
Contributor III
Contributor III

Hi,

are there only two types of product or N number of products?

If it is only 2 products,

Create 4 master measure in bar chart. (Don't create Dimension)

Master Measure 1: Product A, Total Amount, set color dark blue 

Master Measure 2: Product A, Abs Value Total Amount , set color light blue 

Master Measure 3: Product B, Total Amount , set color dark purple 

Master Measure 4: Product B, Abs Valie Total Amount , set color light purple 

Thanks Regards,
Muthukumar P
Qlik Developer