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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Graphs yearly order & different colour for each year

Hi, 

I am looking to get the below graph to run in monhtly order but to start with the 2022 months rather than have Jan 23 at the start. It would also be helpful if the 2023 bars were a different colour. Can anyone help with this? 

 

I have also had to include the month number to get the months in order but I would prefer to just have the month name showing on my graph to make it cleaner. Can I hide the month number along the x axis? Thanks for any help. 

 

Calb123_0-1681372671006.png

 

1 ACCEPTED SOLUTION

the diffent colours for years can be achieved by using conditional formatting based on a calculation Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

View solution in original post

2 REPLIES 2
ovde
Resolver II
Resolver II

You want to sort [Month Name] by [Month] see Sort one column by another column in Power BI - Power BI | Microsoft Learn . This will mean that you no longer need to show the month numbers.

Then you can sort the chart by the [Year] + [Month name] see Change how a chart is sorted in a report - Power BI | Microsoft Learn

Hope this helps!

the diffent colours for years can be achieved by using conditional formatting based on a calculation Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors