Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

can we change the color of text with logic ?

For Data labels in PBI, if the position is set to AUTO, then the text sometimes comes inside, sometimes outside.

Can we change the coler of the text to be different when its showing outside to when its showing inside the bars ?

the reason I ask is due to the bars color (say we are using BLACK for TEXT, and the bars color is#00687F), sometimes the text shown inside the bards get really tough to see for users.

Community Champion
Community Champion

Hello @agkolkata ,


If you enable the data labes option, it automatically will color the value outside with black and inside with white and will all be clear.




If I answered your question, please mark my post as solution, Appreciate your Kudos 👍


Follow me on Linkedin


for me its not doing so. its still keeping black inside as well.  I am using in a bar chart 

any specific option to enable please ?

Helpful resources

Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors