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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Dates are not ordered chronologically, It is mixed

I have date formats in the text format like 

Jul-20

Aug-20

Sep-20

Oct-20

Nov-20

Dec-20

Jan-21

:::::: 

feb-21

 

......So on till Dec-21

 

I have used custom ordering, used month orders, still I am facing problems.problem.png

 

Could you please help me with this? Pls

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , In you date table you have month year

Month Year = FORMAT([Date],"mmm-yyyy")

Create a new column
Month Year sort = FORMAT([Date],"yyyymm")

 

Mark this as sort column from column tools

 

Sort Month Year.png

 

How to Create Sort Column and Solve Related Errors: https://youtu.be/KK1zu4MBb-c

View solution in original post

Anonymous
Not applicable

Thank you amit!!!. That sorted my problem.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , In you date table you have month year

Month Year = FORMAT([Date],"mmm-yyyy")

Create a new column
Month Year sort = FORMAT([Date],"yyyymm")

 

Mark this as sort column from column tools

 

Sort Month Year.png

 

How to Create Sort Column and Solve Related Errors: https://youtu.be/KK1zu4MBb-c

Anonymous
Not applicable

Thank you amit!!!. That sorted my problem.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.