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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.