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
fa82
Regular Visitor

Matrix conditional formatting of row and row header

Hi Everyone, I'd appreciate your help on the following:

I have Year, Quarter, Attribute, and Value set up in a matrix like this:

fa82_0-1640260278536.png

 and a matrix similar to this: 

fa82_1-1640260459648.png

 

Is there a way to conditionally colour the row and row header? e.g. if attribute= A-19, color the value and row header blue.

 

 

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @fa82 

 

Currently it is not supported to apply conditional formatting to row/column headers in Matrix visuals. It only applies to Values fields. You can create a measure to decide colors, then use Format by Field value based on this measure. HTML Color Codes 

Color = IF(SELECTEDVALUE('Table'[Attribute])="A-19","#89CFF0")

21122701.jpg

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

amitchandak
Super User
Super User

@fa82 , I doubt you can do conditions formatting for matrix header column

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
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.