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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Dunner2020
Post Prodigy
Post Prodigy

Guage with three colors

Hi there,

 

I am looking for to have three colors in 'guage' visual in such a way that that upto 50% of guage, it shows green color, from 50% to 85% it shows yellow and remaining portion it shows red. I looked into guage properties but did not come across anyone. Is there any way of including three colors in guage?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Dunner2020 

You can set conditional formatting for Data colors .

Original data :

Ailsamsft_0-1626070086996.png

Then create a column to judge which interval the value is in .

 

Column = SWITCH(true(),'Table'[Value]=0.5,"green",'Table'[Value]>0.5 && 'Table'[Value]<0.85,"yellow","red")

 

Add the gauge visual ,then put the column in Fill in Data colors .

Ailsamsft_1-1626070086997.png

The final result is as shown :

Ailsamsft_2-1626070086999.png

Ailsamsft_3-1626070087001.png

I have attached my pbix file ,you can refer to it .

 

Best Regards

Community Support Team _ Ailsa Tao

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @Dunner2020 

You can set conditional formatting for Data colors .

Original data :

Ailsamsft_0-1626070086996.png

Then create a column to judge which interval the value is in .

 

Column = SWITCH(true(),'Table'[Value]=0.5,"green",'Table'[Value]>0.5 && 'Table'[Value]<0.85,"yellow","red")

 

Add the gauge visual ,then put the column in Fill in Data colors .

Ailsamsft_1-1626070086997.png

The final result is as shown :

Ailsamsft_2-1626070086999.png

Ailsamsft_3-1626070087001.png

I have attached my pbix file ,you can refer to it .

 

Best Regards

Community Support Team _ Ailsa Tao

 

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 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