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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
v-yetao1-msft
Community Support
Community Support

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
v-yetao1-msft
Community Support
Community Support

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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