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

Negative value with different Color in Gauge Chart

HI All,

Trying to display Bar chart in a straight table.

Is there any possibility to display positive value and negative value in the same side with different Colors.

3 Replies
adamdavi3s
Master
Master

yes using the background formula of the expression (click the + next to the expression on the expressions tab)

if(yourexpression <=0,lightred(),green())

or insert your own rgb colours in there

stephenedberkg
Creator III
Creator III

HI,

For the percentage values use this formula  as background color

if(yourexpression <=0,red(),green())


for the linear gauge chart set the lower bound is -1 and lower bound color is red

upper bound is 0 and color is green


Frank_Hartmann
Master II
Master II

attached sample might be helpful