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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.