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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
hoosha_11
Helper I
Helper I

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

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

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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