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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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

Share with Power BI Enthusiasts: 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors