Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Gauge chart fill to value % segments setup

Hi,

I need some help with my gauge chart.

it wont fill to value with green (-%) or red (+%)

Expression:

=if(sum({<År={"$(=max(År))"}>}kWh)/sum({<År={"$(=min(År))"}>}kWh)>=0.05, Green(), LightRed())

Gauge settings Min and max value, lower bound. What to input?

5 Replies
sunny_talwar

May be try to enter 0.5 here for Segment 1 and 1 for segment 2

Capture.PNG

Anonymous
Not applicable
Author

Hi Sunny,

Thanks for reply !

sunny_talwar

Keep the color non-calculated... green() for segment 1 and Lightred() for segment 2

Anonymous
Not applicable
Author

sunny_talwar

The percentage can be negative as well? May be do -1 for min... I am not sure...