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: 
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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