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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors