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
Himanshi0291
Helper II
Helper II

Color Coding for bars and Utilization % value

Hi Team,

 

I am working on showing the utilization % for different BUs on monthly, quarterly & yearly basis. For that reason I am using below clustered column chart and multi-row card and color coding should turn red ( 0-60%), Yellow (61-80%) and Green (Above 80%) based on Utilization % for both the graphs below. Can you please assist.

 

Captureu.PNG

Captureu2.PNG

 

Thanks

  

1 REPLY 1
amitchandak
Super User
Super User

@Himanshi0291 , You can create a color measure like one given below and use that in data color/conditional formatting with "Field Value" Option. But in case of Bar it will only work with one Value(Measure) and no legend

 

Switch( True(),
[Utilization %] <=.60 , "Red",
[Utilization %] <=.80 , "Yellow",
"green",
)

 

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.