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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Mat42
Resolver I
Resolver I

Matrix Row Header Formatting

This pertains to another question I posed here: https://community.powerbi.com/t5/Desktop/Merge-Table-Rows/m-p/1849330#M714489 . As this is a separate, albeit related issue, I thought I'd start a different thread..

 

@PaulDBrown kindly helped me sort data into the following layout (this is still the test data, but my actual data worked just as well):

 

Table Example A.png

 

This is exactly what I needed, however it's left me with a new problem (which is always the way with PBI as it doesn't ever do exactly what I need).

 

In my current setup (which is essentially a table with extra bells and whitsles) the column containing 'Overall Project Status' is colour coded using conditional formatting. Not Started/Behind Schedule is Red, Ongoing is Amber, and Complete is Green. The conditional formatting is achieved using a calculated column which creates a single numerical figure for each entry in 'Overall Project Status' (1 is Complete, 2 is Ongoing, 3 is Not Started/Behind Schedule). As the above is a matrix, and the Overall Project Status is now a row header, that doesn't seem possible. In fact, all of the above are row headers with no values.

 

My solution/workaround was to replace the Overall Project Status column with the calculated column as values, like this:

 

Table Example 3.png

 

Which, after some fiddling with column headers, data, and stuff, would then conditionally format nicely like this:

 

Table Example 4.png

 

This is good, and achieves basically what I need. The problem is I need this column to be alongside the Project column, like this:

 

Table Example 5.png

 

However, as I mentioned at the beginning, the original matrix setup is all row headers. The coloured column above is value column, which can't be set before row headers (for obvious reasons).

 

Am I just being stupid? Is there any way to achieve this? I made the mistake of coming up with a solution, and presenting that to management, before understanding that a matrix would lay the data out more efficiently. They now want the original layout, which is more technically difficult with my original setup.

 

Yes, I'm dumb.

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Unfortunately PBI doesn't currently allow conditional formatting options for row fields in a matrix (though you can in a table visual). The only option I can think of is to apply the conditional formatting as you have done, or to the [percent complete] measure





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.






View solution in original post

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

Unfortunately PBI doesn't currently allow conditional formatting options for row fields in a matrix (though you can in a table visual). The only option I can think of is to apply the conditional formatting as you have done, or to the [percent complete] measure





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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors