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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mojtaba
Frequent Visitor

Gauge Conditional colour formatting

I have very simple problem for my gauge color

 

Capture.PNG

I need to change orange to  green and green to orange

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Mojtaba ,

You can change colors like this:

1. Change the Fill color in Data colors pane

vyingjl_0-1635238341629.png

2. Change another color by changing 'Third-level elements' in custom theme settings:

vyingjl_1-1635238419545.png

 

Refer:

  1. Use report themes in Power BI Desktop 
  2. Customize Current Theme From Power BI Desktop Without Using JSON - Part One 

 

Best Regards,
Community Support Team _ Yingjie Li
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

3 REPLIES 3
Anonymous
Not applicable

Another option is to create a Gauge that dynamically changes colour based on the current value. 

biancagilly_0-1661490607814.png

 

To learn how, check out the YouTube demo: https://youtu.be/oEL36Fp3TU0

v-yingjl
Community Support
Community Support

Hi @Mojtaba ,

You can change colors like this:

1. Change the Fill color in Data colors pane

vyingjl_0-1635238341629.png

2. Change another color by changing 'Third-level elements' in custom theme settings:

vyingjl_1-1635238419545.png

 

Refer:

  1. Use report themes in Power BI Desktop 
  2. Customize Current Theme From Power BI Desktop Without Using JSON - Part One 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi @Mojtaba ,

 

I think you can't change the gauge background (orange) via a condition.

https://community.powerbi.com/t5/Desktop/Gauge-Widget-Change-gauge-background-colour-not-widget/m-p/...

 

The filling (green) as described by Reza in this video.

https://www.youtube.com/watch?v=0s72vgeRJok

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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