Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
des_san
Advocate I
Advocate I

Conditional Formatting a Guage visual

Hi all,

 

I have a table that looks like this:

DateProcessed CountCreated Count
01/01/19100150
01/02/1990120
01/03/1911580
01/04/1985100
01/05/199590

 

I would like to visualize a KPI that measures whether we're on target. The target would be defined as the Average of Created Count. I would like the visualization to conditionally format so that if we're falling behind by >80% it's red. If we're within 80% and 95% then yellow and if we're greater than 95% then green.

 

My first thought was that a Guage would work. However, I was not able to figure out how to conditionally format the Fill color by percent, only by manually entered static values.

 

Capture.PNG

 

Would you have a solution?

3 REPLIES 3
Cmcmahan
Resident Rockstar
Resident Rockstar

I've run into this problem myself recently.  Unfortunately, there isn't currently a way to do it with the default Gauge visual.  You can vote for this feature here: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/18543640-conditional-color-format...

 

My solution was to use the Tachometer custom visual from the Marketplace instead of the default Gauge.

That's unfortunate. I will add my vote for this feature. Thank you for sharing the suggestion. I'll take a look at the Tachometer and see if it will work for our report.

I have this challenge too. I found a good tutorial on how to do this on Youtube (https://www.youtube.com/watch?v=_JMSw6i5pzY&feature=youtu.be), but it's not working with a live connection - it won't allow me to select the measure I created with the switch expression. In fact, it won't let me select any values. 

 

Do you know if this is a limitation - cannot select measures when using live connection and trying to do conditional formatting on a guage visual?

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.