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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AC23VM
Helper II
Helper II

Colouring row subtotal backgrounds in a matrix

Hi there. I'm making a matrix with nested rows. One of the columns needs to show certain values as 1 of 3 colours. I used Cell Elements to apply a background colour rule to that column. However, the subtotals of the header rows (i.e., not the nested ones) don't change colours. I can change them all via Row Subtotals > Values, but this affects the whole row, and since you can't apply a rule, it can only be 1 colour. Anyone know if this is possible?

 

For context, here's a brief snip:

AC23VM_0-1734602841261.png

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @AC23VM 

Conditional formatting on row and column headers  is currently not supported, only for the values.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

3 REPLIES 3
Uzi2019
Super User
Super User

Hi @AC23VM 

You cant apply the rules Neither in specific column formatting  Nor in Row subtotals..

 

You can only apply the rules in Cell Element setting.

 

we can apply to different color option but not a conditional formatting.

Uzi2019_0-1734684913934.png

 

 

as you can see . 
Let me know if you need any help in this case.

 

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
Bibiano_Geraldo
Super User
Super User

Hi @AC23VM ,

You can change the color of subtotals by going to format pane, specific column and apply to subtotals as shown bellow:

Bibiano_Geraldo_0-1734603873113.png

 

This change the color for subtotals, but will be not dynamic.

 

danextian
Super User
Super User

Hi @AC23VM 

Conditional formatting on row and column headers  is currently not supported, only for the values.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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