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

Gauge / Speedometer Chart (Color condition)

Hello,

I have to create 3 Gauge / Speedometer Charts with the following coloring requirements for the 3 of them:

1 - The bar should be turn Blue when the variation  Value is negative.

2- The bar should be turn Orange when the variation  Value is not too hight or too low .

3- The bar should be turn Green when the variation Value is hight.

Can you please help acomplish those, here a picture from the requirement:

Speedometer chart.jpg

Previously, in the color section i wrote the following expression, but it didnt work:

(
(
(
sum(Value)

/
sum({<$(vMonthPreviousYear)>}Value)
)-1
)<0
, rgb(0,255,255), rgb(0,0,0))

Thanks for your help.

1 Solution

Accepted Solutions
anlonghi2
Creator II
Creator II

Hi Iuri,

please look at attached app and let me know if it is ok for your needs.

try it assigning values (both negative and positive) to v_expval using the input box.

Best regards

Andrea

View solution in original post

4 Replies
ecolomer
Master II
Master II

here you have an example

anlonghi2
Creator II
Creator II

Hi Iuri,

please look at attached app and let me know if it is ok for your needs.

try it assigning values (both negative and positive) to v_expval using the input box.

Best regards

Andrea

Anonymous
Not applicable
Author

GaugeColor.png

you dont need to write expression under color tab.

you need to define the segments.

if you want only two colors just define one segment

see image.

Thanks

BKC

Not applicable
Author

Thank you anlonghi2,

That approach is closer to my needs.