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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
nicolasvc
Helper III
Helper III

Change order x axis dates

I have a hierarchy of year, month and week number of the year, for the last 3 months of 2021 and the 12 of the next. When I graph it by year, everything appears well first in 2021, then in 2022, but the problem appears when I go down the hierarchy. Because the order has it per year, but when I have only 2022 it maintains the same order, in the end the months are messy.

Is there a way to put/repeat another value for the axes x with months 10, 11 and 12, but next, something that continues after the 9 only for 2022 and so on. As long as the two years continue every 12 months.

 

Screenshot_10.pngScreenshot_11.png

1 ACCEPTED SOLUTION

@nicolasvc Oh, take the Ano column out of your Legend and place it in the X-Axis field well above your Mes column to create an ad-hoc hierarchy.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

@nicolasvc Seems like you need to change your mes column to numeric from text.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you, the order of the months changed, but they still appear together in the same month, how could I do to repeat the axes? 😞

@nicolasvc Oh, take the Ano column out of your Legend and place it in the X-Axis field well above your Mes column to create an ad-hoc hierarchy.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks! I found another way, I switched from the clustered column chart, to the stacked column chart and it magically worked.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Solution Authors