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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MartinConroy
Frequent Visitor

Change month order

Hi,
I'm looking to compare values across months year by year. This I have working basically, but our financial year runs Oct-Sep, so wondered how I could change this chart to start with Oct and run to Sep?
Thank you!

MartinConroy_0-1660062123771.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MartinConroy , You need to create a month sort column, assume you have this column in date table

 

month sort = if(month([date]) <10 , 3+ month([date]) , month([Date]) -9)

 

mark this as the sort column of the month

 

Sort Month.png

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

View solution in original post

2 REPLIES 2
MartinConroy
Frequent Visitor

Thank you - this example was most helpful. I was struggling because I was basing the month on the month part of a date hierarchy field. Once I explicitly stored the month number all was fine 🙂

amitchandak
Super User
Super User

@MartinConroy , You need to create a month sort column, assume you have this column in date table

 

month sort = if(month([date]) <10 , 3+ month([date]) , month([Date]) -9)

 

mark this as the sort column of the month

 

Sort Month.png

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.