Reply
hoosha_11
Helper I
Helper I
Partially syndicated - Outbound

Updating the total value text color in a specific column

Hi,

I have a table where I want the values in a specific column to appear in white (since I am using conditional formatting for the background), but the total should remain black.

To get this, I used the "specific column" option to change the text color of that column. But, there's a problem:

  • If I toggle off "Apply to total," the total value shifts to the right (it should be center-aligned).
  • If I toggle it on, the total value appears in white, which is not what I want.

I also tried updating the text color of the "Total" separately, but when "Apply to total" is enabled in the "specific column" section, it overrides everything, and changing the "Total" color has no effect.

 

Any idea how I can fix this? seems to be an easy task but can't seem to find a solution for it.

 

Thanks for your help!

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Syndicated - Outbound

Hi @hoosha_11 ,

 

If I understand your query, then try this.

 

Consider the following table visual.

Pragati11_1-1736459059975.png

 

I go to following Cell Elements under formatting for my "Total Sales" column:

Pragati11_0-1736458985959.png

I choose Background color and apply WHITE color to "Values Only".

Pragati11_2-1736459126192.png

 

Further, under formatting, I go to TOTALS section and give a certain background color to total values only:

Pragati11_3-1736459288948.png

Final result is:

Pragati11_4-1736459320872.png

Sales column has background as WHITE

Total row has background as BLUE (you can use black in your case)

 

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!!

View solution in original post

1 REPLY 1
Pragati11
Super User
Super User

Syndicated - Outbound

Hi @hoosha_11 ,

 

If I understand your query, then try this.

 

Consider the following table visual.

Pragati11_1-1736459059975.png

 

I go to following Cell Elements under formatting for my "Total Sales" column:

Pragati11_0-1736458985959.png

I choose Background color and apply WHITE color to "Values Only".

Pragati11_2-1736459126192.png

 

Further, under formatting, I go to TOTALS section and give a certain background color to total values only:

Pragati11_3-1736459288948.png

Final result is:

Pragati11_4-1736459320872.png

Sales column has background as WHITE

Total row has background as BLUE (you can use black in your case)

 

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!!

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)