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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Keep font color of inside data labels as default and outside data labels changed as required

How to keep the font color of inside (overflow text) data labels in a pie chart as default (white) and the outside data labels can be changed as required?

amlanjyoti_0-1669890975879.png

For instance, in the image, I want "0%" to be shown as it is in white but the other data labels I want a different font color. Please help. 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @Anonymous ,

 

First, 0% wion't be shown in the visual. 

 

If you want to format other data labels with a different color, please try the following steps.

 

This is my test table:

vyadongfmsft_0-1669958998963.png

 

Create a measure:

Measure = IF(MAX('Table'[Percentage]) <= 0.1,"red","green")

 

Select conditional formatting in data labels:

 

vyadongfmsft_1-1669959173891.png

 

Field value - Measure just created:

vyadongfmsft_2-1669959242488.png

 

Last, you can set different colors for data labels:

vyadongfmsft_4-1669959469908.png

 

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yadongf-msft
Community Support
Community Support

Hi @Anonymous ,

 

First, 0% wion't be shown in the visual. 

 

If you want to format other data labels with a different color, please try the following steps.

 

This is my test table:

vyadongfmsft_0-1669958998963.png

 

Create a measure:

Measure = IF(MAX('Table'[Percentage]) <= 0.1,"red","green")

 

Select conditional formatting in data labels:

 

vyadongfmsft_1-1669959173891.png

 

Field value - Measure just created:

vyadongfmsft_2-1669959242488.png

 

Last, you can set different colors for data labels:

vyadongfmsft_4-1669959469908.png

 

 

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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