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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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