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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Conditional formatting in row header in Matrix table.

Hi all,

 

How I supposed to perform a conditional formatting on a row header in Matrix table?
I have two rows headers anfI want that one of them will be in specific color - please find the attached picture:

Chen1821_0-1635065241260.png

  I would like that only the tasks will be colored in blue color (for example). 
I tried to create additional column due to do thi, however it's ignored the PI row header (plese find the picture below):

Chen1821_1-1635065377967.png



My desirable result supposed to be like that:

Chen1821_2-1635065429726.png



Does anyone has solution to this?

 

Thanks a lot!

7 REPLIES 7
strongCoreZach
Advocate III
Advocate III

I solved this by going into the cell elements, and making sure my formatting measure applid to 'Values and Totals'

strongCoreZach_0-1670423147142.png

 

This looks like a Table setting, not a Matrix.
In the Matrix, row headers are not available in the Cell Elements (2024).

This is the answer, ignore the other comments!!

Anonymous
Not applicable

I have no idea why this worked, but I was really struggling to get formatting to work on the row headers. I searched all over the community and was not seeing any answers.  I was clicking around and for some reason that I don't understand, it's working now.

 

Here's what I did:

  1. Removed header row from matrix
  2. added header row back to matrix in the bottom position of the rows container.
  3. Moved it back up to top position (header row)

Voila, all of a sudden I had formatting!

bowtiedbi_0-1658426583203.png

 

Thank you - this is still a working solution for Matrix / Compact Layout

Removing then re-adding the Rows data field, and moving it to the top allowed the existing formatting set to apply to the parent row.

Would be nice if we could also format the Row colours, but I'll take it as a win.  

Thank you!


Anonymous
Not applicable

You can do it by using Row subtotals, set the color on values background

PaulDBrown
Community Champion
Community Champion

Currently we can't apply conditional formatting to matrix row headers





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.