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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
UncleLewis
Responsive Resident
Responsive Resident

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
Responsive Resident
Responsive Resident

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors