Reply
JemmaD
Helper V
Helper V
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)