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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
hideakisuzuki01
Helper II
Helper II

How to apply the same format for the whole total row

Hi,

I have a trivial question but I have been asked to make the format exactly the same as other system so here goes.

I have the below matrix but as you can see, the background color is only applied to the total values, but not to the "Total" nor the row total value("5,350").

Is there any way to apply the same background color all the way to "Total" and "5,350" in the below screenshot ?

hideakisuzuki01_0-1655202419498.png

 

Please note that I dont want to apply the blue background to the whole row headers, only the "Total".  

And likewise I only want the blue background for "5,350" , but not the whole row totals.

Is this possible ?

 

 

1 ACCEPTED SOLUTION
FarhanAhmed
Community Champion
Community Champion

Create a DAX Expression for colors

 

Color = IF(HASONEVALUE(Table[year]),"White","Sky Blue")

 

Set the background of the value as and apply to totals only

 

FarhanAhmed_0-1655203916669.png

 

you will get below results

 

FarhanAhmed_1-1655204072547.png

 

 







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

Proud to be a Super User!




View solution in original post

3 REPLIES 3
hideakisuzuki01
Helper II
Helper II

Worked great, thanks Farhan!

FarhanAhmed
Community Champion
Community Champion

Create a DAX Expression for colors

 

Color = IF(HASONEVALUE(Table[year]),"White","Sky Blue")

 

Set the background of the value as and apply to totals only

 

FarhanAhmed_0-1655203916669.png

 

you will get below results

 

FarhanAhmed_1-1655204072547.png

 

 







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

Proud to be a Super User!




like wise if you want only totals to be colored change the color expression

Color = IF(HASONEVALUE(Table[Year]) || HASONEVALUE(Table[Month]),"White","Sky Blue")

 

FarhanAhmed_0-1655204223887.png

 







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

Proud to be a Super User!




Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors