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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
confidentnwrong
Advocate I
Advocate I

Conditional formatting on Y axis labels in bar charts

Hello !

 

I am using a bar chart and I want to change the color of the labels based on a different column. Here is a screenshot to help you visualize.

 

Capture d'écran 2023-05-02 162532.png

 

I would like the colors of the bar chart on the right to correspond to the colors of the one on the left. The field in the bar chart on the left is called "primaire" in my data.


Here is what I entered in the conditional formatting option.

Capture d'écran 2023-05-02 162311.png

But as you can see in the first screenshot, all the labels are purple.

 

Weirdly enough, if I filter by clicking on a category on the left, the text does change colors.

Capture d'écran 2023-05-02 162547.png

 

Does anyone have a solution to make my labels the right color from the start ?

 

Thank you in advance.

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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