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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Dates Not in Chronological Order

Why can't I sort these in order?:

1.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@fhill I've figured it out now. Thanks! I created a formula and sorted it by the formula in my table:

 

YearMonthInt = 'Case'[Year]*100 + 'Case'[Month Number]

View solution in original post

3 REPLIES 3
fhill
Resident Rockstar
Resident Rockstar

Under modeling, what's the Data Type of your 'Month & Year' measure?  If it's Text, have you tried chaning it to a date format?

FOrrest




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




Anonymous
Not applicable

@fhill I've figured it out now. Thanks! I created a formula and sorted it by the formula in my table:

 

YearMonthInt = 'Case'[Year]*100 + 'Case'[Month Number]

@Anonymous,

 

Glad to hear that. You may help accept the solution above. Your contribution is highly appreciated.

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.