Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
How can I automatise the color of my data label in bar char according its value, i.e when it is outside of the bar, it shold be white and when it is inside of the bar, it should be black.
See in the screenshoot
Thanks for your helps.
Hi @Dionah ,
Your requirement cannot be met for the time being. There is currently no way to determine whether the data label is inside or outside the bar.
If you think this makes sense, I suggest you post your thoughts here and give it a thumbs up.
https://ideas.fabric.microsoft.com/
Maybe one day in the future your needs can be realized.
Best Regards,
Dino Tao
@Dionah ,
Your other option is to change your label position to all Inside or Outside.
Then you can choose the colour best suited for your needs.
@Dionah There is no way that I know of to do what you are asking based on the position of the data label. You can control the color using conditional formatting but that doesn't have an option for "inside/outside".
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |