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
Anonymous
Not applicable

Multiple Guage Colors Base On Status

So I am looking to create a guage that uses multiple colors based on a given status in the data.  For instance we have a goal and I want to display the teams progress.  So we have one value as "Achieved" and another value as "Reserved" to show our pipeline towards our goal.  So in the same guage, I want Achieved values to show up as one color and the Reserved values to show up as another. 

 

I can obviously do this rather easily with a donut chart, but it does not show us how we are progressing towards our goal.

 

4 REPLIES 4
Anonymous
Not applicable

@Anonymous & @MFelix ,

Unfortunatly neither of those options worked. What I am looking for is half of that guage would be blue for the "Achieved" value, then the other half would be red for my "Reserved" value as shown in this image.

 GuageColorChange.PNG

 

I did create a measure as suggested and used the following which did not work:

Guage Progress =
SWITCH(
SELECTEDVALUE('Rebate Intake'[Phase]),
"Achieved","Green",
"Reserved","Yellow"
)

Hi  @Anonymous ,

 

You cannot achieve this with the gauge visualization by default, you need to use a custom visual (https://xviz.com/visuals/advanced-gauge/) or using a colection of several visualizations and group them.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi@Anonymous, 

 

you can try to create a measure like this:

 

 

Gauge Color =
SWITCH ( TRUE (), [Reserved] > ValueA, "Green", [Achieved] > ValueB, "Red" )

 


Then you can use this DAX measure in the conditional formatting, this time, you need to select Format by Field Value, and then select the Gauge Color measure here.

111.png

 


For more information,you can refer to this article :

https://radacad.com/sentiment-colors-for-gauge-visual-in-power-bi  

 

Hope it helps.

 

Best Regards,

Caitlyn Yan

 

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

 

 

MFelix
Super User
Super User

Hi @Anonymous ,

 

What do you mean by different colours on the same gauge you want to select the values (achieved / reserverd) from a slicer and the gauge change colours? you want to have both of them in the same gauge at the same time?

 

Can you share a sample of your data and expected result.

 

If you want to  usea slicere you can use a condittional formatting something similar to:

 

Colour = SWITCH(SELECTEDVALUE('Table (2)'[Satus]) , "Actual", "Green", "Reserverd", "Blue", "Grey")

 

MFelix_0-1613468806089.pngMFelix_1-1613468825333.pngMFelix_2-1613468839575.png

See PBIX file attach, the condittional formatting can also be applied to the target line.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



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.