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
than689
Helper I
Helper I

Format Matrix Grand Total like Row

How can I format the final grand total value like the rest of the row (dark blue, white text)? Is PBI Matrix missing this ability? It seems like it should be a basic function.

 

than689_0-1713865413351.png

Data filtered & context hidden for security reasons

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

@than689 

Interesting, it indeed seems harder than it should be to format that specific cell, because it is treated as part of the "Column grand total".

I could only get it working by coming up with some awkward conditional formatting measures and applying them to Totals only:

Total Background Colour = 
IF ( 
    NOT ISINSCOPE ( Account[P&L Level 1] ),
    "#0a3b6f"
)
Total Font Colour = 
IF ( 
    NOT ISINSCOPE ( Account[P&L Level 1] ),
    "#ffffff"
)

OwenAuger_0-1713868591100.png

 

PBIX attached.

Does this work for you?

 

Update: I saw @Uzi2019 's post just appear - so there may be a simpler way.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

5 REPLIES 5
OwenAuger
Super User
Super User

@than689 

Interesting, it indeed seems harder than it should be to format that specific cell, because it is treated as part of the "Column grand total".

I could only get it working by coming up with some awkward conditional formatting measures and applying them to Totals only:

Total Background Colour = 
IF ( 
    NOT ISINSCOPE ( Account[P&L Level 1] ),
    "#0a3b6f"
)
Total Font Colour = 
IF ( 
    NOT ISINSCOPE ( Account[P&L Level 1] ),
    "#ffffff"
)

OwenAuger_0-1713868591100.png

 

PBIX attached.

Does this work for you?

 

Update: I saw @Uzi2019 's post just appear - so there may be a simpler way.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Thanks - you've certainly managed it! I have a feeling this might be the only way to do this currently...

Hi @than689 

Check the below solution for simpler way.

 

 

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

Hi @than689 
There is option on column Grand total 

Uzi2019_0-1713867905974.png

 

You can put same formatting as you have chosen  color for values of table.

Or you can select specific column formatting option

Uzi2019_1-1713868110748.png

 

where you can set all values/ header/ total color and background same.

Uzi2019_2-1713868183876.png

 

 

I hope I answered your question!

 

 

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

Thanks, unfortunately I don't think this solves the requirement to format only the final value (20,691,462 in your example)

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