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

Dynamic colors in speedometer segments

Hello,

we have a speedometer graphic with the 3 classic segments (red, yellow, green).

We set the boundaries in this way:

- red (current result is worse than previous year)

- yellow (better than previous year)

- green (over target)

Values of segments are fixed as simple numbers.

But if we select some months or quarters or other products filters, of course the needle moves but boundaries are not referred to that month or that product. They obviously remain set for whole year result.

How can we set dynamic segment colors? Is it possible with some expressions?

Thanks.

4 Replies
Gysbert_Wassenaar

You can use expressions in stead of fixed values for the segment boundaries.


talk is cheap, supply exceeds demand
Not applicable
Author

How to use experession..

maxgro
MVP
MVP

you can change (red rectangle)

- bound

- color

for every segment

In image an example with an expression (replace 1=0, ...) for color

1.jpg

Not applicable
Author

Thanks Massimo.

It was helpful

Regards,

Kuldeep