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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

conditional formatting for each column in matrix

I am trying to apply conditional formatting with specific conditions for each column rather than just the whole visual. Ultimately it comes down to the background of each cell changing depending on the value in the cell. Is this possible in power bi?

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , exact need is not clear. You can do rule base, Scale base of measure based.

 

refer to my video: https://www.youtube.com/watch?v=RqBb5eBf_I4

 

or these blog

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
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
Anonymous
Not applicable

Sorry i'll try to clarify. 

 

I have a table which shows the number of car crashes for each car within with 3 columns - HIgh, Medium, low.

I want to add conditional formatting to each cell. The conditions are  for the background color to changes depending on the numerical value in the cell. But these thresholds CANT BE the SAME for each column.

Example:

High Column: 0 to 10 = Green Background ; 11 to 20 = Yellow Background ; 22 to 30+ = Red Background

Medium Column: 0 to 20 = Green Background ; 21 to 49 = Yellow Background ; 50+ = red background

 

Is there any way to apply conditional formatting to each column rather than the entire table?

 

thanks 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.