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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JemmaD
Helper V
Helper V

Conditional Formatting of Data Labels in Guauge

Hi there,

 

I have a guauge which has total premium sold as the Maximum Value, and premium sold filtered as the Callout Value.

In this case, the 0 is irrelevant so I was trying to make the zero white by using conditional formatting on the Data Labels. However my rules are not making the 0 white, can you suggest anything?

My rules are below.

JemmaD_1-1726578681053.png

 

JemmaD_0-1726578641236.png

 

2 ACCEPTED SOLUTIONS
moncx
Resolver II
Resolver II

Hey,

 

0 in gauge represents from where axis starts so conditional formating does not apply to it (conditional formating is for value not for axis). There is no way of hidding 0 by turning off axis or changing color (the only way would be to create white little shape and put it on top of '0').

 

Hope it helps!

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

audreygerred
Super User
Super User

Hi! The conditional formatting you are trying to do here is going to change the label based on the measure you put in, so only if the total was equal to 0 would the label become white, and it would actually turn both the min and the max to white because the formatting applies to both labels based on the measure value itself. You cannot change just the min. Also, the 0 is important because it lets the user know where the guage starts. By default, Power BI decides the min, so it is not always 0. If you really want to 'hide' it, you can place a shape on top of it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
audreygerred
Super User
Super User

Hi! The conditional formatting you are trying to do here is going to change the label based on the measure you put in, so only if the total was equal to 0 would the label become white, and it would actually turn both the min and the max to white because the formatting applies to both labels based on the measure value itself. You cannot change just the min. Also, the 0 is important because it lets the user know where the guage starts. By default, Power BI decides the min, so it is not always 0. If you really want to 'hide' it, you can place a shape on top of it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





moncx
Resolver II
Resolver II

Hey,

 

0 in gauge represents from where axis starts so conditional formating does not apply to it (conditional formating is for value not for axis). There is no way of hidding 0 by turning off axis or changing color (the only way would be to create white little shape and put it on top of '0').

 

Hope it helps!

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.