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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.