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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

change color to column in a bar chart

Hi all,

this is my problem: i want to do a conditional formatting in a bar chart, but i'm not able. I want green column if value is greater than a 38 and red column if value is lower than a 38

thx to all

1 Solution

Accepted Solutions
Not applicable
Author

Change your expression to sum(valore)

There is a background color option and that is where you put your color logic.

=if((sum(valore)>38),red(),green())

That should do the trick.

View solution in original post

4 Replies
Not applicable
Author

Change your expression to sum(valore)

There is a background color option and that is where you put your color logic.

=if((sum(valore)>38),red(),green())

That should do the trick.

spividori
Specialist
Specialist

Hi.

is like saying wms. See the image.
In the expression:
Captura.JPG
in the background color:
Captura1.JPG

Regards.

Not applicable
Author

I put the attachment on the reply.

Check it again.

the standard sum goes in the normal expression editor.

its_anandrjs
Champion III
Champion III

Hi,

See the attached sample file

And let me know

HTH

Regards

Anand