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

Bar Graph - Bar Colors based on Value

Hey Guys,

Hope you all doing great,

Im a beginner and i was wondering if you could help me out with this simple issue.

I have a bar graph which displays bars of a value in percentage.

How do i make the bars turn green color for those above 90% value and red color for those below 90%?

Thanks a million!!

Justin

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Set an expression for the background color. Click on the plus in front of the expression. The expression would be something like this: if( value > 0.9, green(), red() ). Replace 'value' with the field or expression that determines value.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

Set an expression for the background color. Click on the plus in front of the expression. The expression would be something like this: if( value > 0.9, green(), red() ). Replace 'value' with the field or expression that determines value.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks a million mate!