cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GeekAlfPro
Super User
Super User

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
Super User
Super User

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors