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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Sksam
New Member

Hey , Need help for date sorting issue

I have a column called "visual date"  which contains following data for example...data type of column is "text".

( i have added visual date column in data view tab by using DAX)

 

2023

2022

2023 -Qtr 1

2022 -Qtr 2

Jan - Second half - 2022

March - First half -2023

Week - 47 - 2022

Week 15 - 2023

Dec - 202201/05/2022

and so on ...

 

I want to sort visual date column by date. How to do this ?

@amitchandak 

2 REPLIES 2
grazitti_sapna
Super User
Super User

Hey,

Try using this, whenever you are adding your visual date column in data view by using DAX, there only try to use DATEVALUE function  which will help you to sort your date column by date format.

For Example like this:-

SOLUTION: new date = DATEVALUE('Superstore - Orders (1)'[Order Date].[Date])

lbendlin
Super User
Super User

what would be the expected outcome based on this sample data?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors