Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

Conditional formatting on column chart with legend



I would like to create a column chart , as exemple below, where I present Total sales by category but also split by months ( as legend in this case ). The measure is built to present last 12 month sales. 


The problem I have is that I don't know If and how to add conditional formatting option on values, so that there were different colors for last Year month and current Year months. 


I can do it when there is no legend, after I add Month to legend then the option is not available. 


Any idea or custom visual ? 



Resident Rockstar
Resident Rockstar

Hi @Marcin ,

Yes, if we add the legend value then we cannot use the feature conditional formatting for Clustered column chart.

By my tests and research, there is no good idea for your requirement.

Hope @Zubair_Muhammad has other ideas.

Best Regards,




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

@v-piga-msft @Marcin 


Unfortunately I don't know of a solution 😞


May be.. we can create a customised visual using "Charticulator" to suit specific needs.


Please try my custom visuals

Helpful resources

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors