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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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