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: 
Anonymous
Not applicable

Set color bar by dimension's value

Hi!,

I am doing a bar chart with "Empresa" as dimention. The thing is that I want to change the color of one of the bar if Empresa = Omnicrom.

Chart:

barchart.png

I use this formula in colour:  If(Empresa='Omnicrom', Red(), Blue())

If I click Omnicrom the bar turns red but when the chart is without a selection all the values has the same colour and I want than Omnicrom always be red.

What can I do?

Thanks from Argentina!

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Where do you use the formula for the color? Did you click on the + in front of the expression, select Background Color and then entered that expression in the Definition field?


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

Where do you use the formula for the color? Did you click on the + in front of the expression, select Background Color and then entered that expression in the Definition field?


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

I try and works! thanks very much.

crusader_
Partner - Specialist
Partner - Specialist

Hi,

I've made the same thing.

Here is result.result_Italy.png