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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mdor
Frequent Visitor

Change background color for row headers in the matrix

Hi,

 

I have a customer request to change the background color for the row headers in the matrix - each line should have a different background color.

For example:

Location 1 - Red color

Location 2 - Blue color

Location 3 - Green color

 

I searched a lot and found only 1 post with a solution that I can't understand (https://community.powerbi.com/t5/Desktop/Row-header-in-different-color/m-p/863592#M414350). Could anyone help me with this matter, please?

 

Thanks in advance

 

 

 
3 REPLIES 3
Anonymous
Not applicable

@mdor 

This is not supported in matrix to set color rules in for columns in the Rows section, you can only use the Table visual instead of Matrix. I am also interested how did the solution in that post achieved this.

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 
amitchandak
Super User
Super User

@mdor , You have an option like row header in the matrix to change color. Conditional formatting do not work on row or column (Pivot column) in Matrix.

 

You can color any column in table

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

I believe we're trying to find out how/if we can apply a background color to any row in a table (not matrix) visual in PBI.  Not necessarily just the header row.  It may sound counter intuitive, however different people want extreme control over visuals as we have in Excel, PowerPoint, etc.  PBI is not that forthcoming.

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.

Top Solution Authors