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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
than689
Frequent Visitor

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
Twitter
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
Twitter
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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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