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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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