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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
abhinavit9
New Member

How to set color to dynamic legend values in clustered column chart?

Hello Everyone,

 

I am trying to create a report that has trailing 5 weeks of data. Every week when the data is refreshed the week numbers change and the color of the newest week in the chart sets automatically to light blue. I want to set these colors one time so that they don't change automatically. I want to design it in the way that the minimum week is the lightest blue and the maximum week is the darkest blue.

I tried conditional formatting but it's not working for me. Any insights will be really helpful. Thanks in advance.

 

powerbi.PNG

3 REPLIES 3
amitchandak
Super User
Super User

@abhinavit9 , You may have to check custom visual. As of now, conditional formatting is not supported by the legend.


Check and vote for an existing Idea or create new https://ideas.powerbi.com/forums/265200-power-bi-ideas

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  Does that mean I have to create custom visuals using charts.powerbi.tips ? 

Hi @abhinavit9 

 

Yes, there's no direct way to achieve this currently.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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