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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.