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
EstherBR
Helper II
Helper II

Format only the row subtotals

Hi,

 

I have the following matrix:

EstherBR_0-1761147654092.png

Is there any way to apply conditional formatting to only the row subtotals? If this is not possible, it is possible to apply conditional formating to the name of the month? 

 

Thanks!

1 ACCEPTED SOLUTION
KNP
Super User
Super User

Hi @EstherBR,

 

It may not be exactly what you're after, but this may work.

 

KNP_0-1761210489552.png

 

  • Create a new measure (change to suit).
_colour = 
    IF(
        NOT ISINSCOPE(FactInternetSales[ProductKey])
        , "light blue"
    )​

 

  • Select your visual.
  • In the formatting options, choose cell elements > Series > Background color
  • Select Field value > Values and Totals > your measure
  • Click OK.
  • Repeat for other columns.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

4 REPLIES 4
KNP
Super User
Super User

Hi @EstherBR,

 

It may not be exactly what you're after, but this may work.

 

KNP_0-1761210489552.png

 

  • Create a new measure (change to suit).
_colour = 
    IF(
        NOT ISINSCOPE(FactInternetSales[ProductKey])
        , "light blue"
    )​

 

  • Select your visual.
  • In the formatting options, choose cell elements > Series > Background color
  • Select Field value > Values and Totals > your measure
  • Click OK.
  • Repeat for other columns.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!
Pragati11
Super User
Super User

HI @EstherBR 

You can apply background color or text color to Row Totals :

Pragati11_0-1761148013280.png

In the same way Column Headers can only be given background colors or text colors:

Pragati11_1-1761148155614.png

The reason for this is conditional formatting is driven by some rules which can only be applied to a value that's being shown against columns.

Hope this helps.

 

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

hi @Pragati11 , I understand that conditional formatting cannot be tapply to only the row subtotals or month columns. Is this correct?

 

 

Hi @EstherBR 

conditional formatting can only be applied to Values when it comes to table or matrix chart in Power BI.

You can check the official documentation here:

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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