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
UncleLewis
Helper V
Helper V

Sort Calendar Table

Hi all,

I am trying to sort my Calendar Table to display properly. My Column is MMM, YYYY.
I tries soerting by year then month number but that give me either

Jan, 2011

Jan, 2012,
Jan, 2013

or

Apr, 2011

Aug, 2011

Dec, 2011

 

How can I sort so displays

 

Jan, 2011

Feb, 2011

Mar, 2011

Thanks,

-w

1 ACCEPTED SOLUTION
JoeBarry
Solution Sage
Solution Sage

Hi @UncleLewis 

 

With in my Date table I created a Month Index column and converted then to number

Month Index = Format('DIM Date'[Date], "YYMM")

 

 

I then Sorted the MMM, YY column by this index Month. As it is taking the year first, it will sort properly

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

View solution in original post

3 REPLIES 3
UncleLewis
Helper V
Helper V

Thanks @JoeBarry ,

Works great!

JoeBarry
Solution Sage
Solution Sage

Hi @UncleLewis 

 

With in my Date table I created a Month Index column and converted then to number

Month Index = Format('DIM Date'[Date], "YYMM")

 

 

I then Sorted the MMM, YY column by this index Month. As it is taking the year first, it will sort properly

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

Idrissshatila
Super User
Super User

Hello @UncleLewis ,

 

Refer to this video https://youtu.be/yx-Duj_KPtw?si=CgODPULaMw7xqJEH

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote for my Community Mobile App Idea 💡



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




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.