cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors