cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GeekAlfPro
Resolver II
Resolver II

Change gauge colour as soon as the value is above the target

Hello,

 

i've a gauge with a value and a target

i'd like to have a conditionnal formating.

if the value is less than the target => green

otherwhise red.

in the following case, the colour should be red

GeekAlfPro_0-1679049232483.png

in this one green

 

GeekAlfPro_1-1679049275426.png

 

my values are numbers not percentages

 

Thanks

 

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

create a measure to define the color of your gauge

wdx223_Daniel_0-1679276994626.png

 

View solution in original post

2 REPLIES 2
GeekAlfPro
Resolver II
Resolver II

Hello @wdx223_Daniel 

 

that was it, thanks !

that's not obvious to have conditionnal formating in measure.
to my mind, it's two separates things

wdx223_Daniel
Super User
Super User

create a measure to define the color of your gauge

wdx223_Daniel_0-1679276994626.png

 

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors
Top Kudoed Authors