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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Aamir_khan
Kudo Collector
Kudo Collector

Change Text date format to Date type

Hello All

 

I am facing some issue while Change Text date format to Date type 

 

I want Change Text date "2020-04-21" format  to Date type 2020/04/21 but how?

 

1 ACCEPTED SOLUTION

Hi , @Aamir_khan 
right click Date colum ->Chage type ->Using locate

48.png

49.png

For more details , please refer to this post.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

8 REPLIES 8
Mariusz
Community Champion
Community Champion

Hi @Aamir_khan 

 

You can use the Power Query editor.

image.png

Or change the Data Tape to Date in the model
image.png
 
Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

I try this solution but in some of the date gets errors

Hi @Aamir_khan 

 

Can you paste a sample with some good and bad ( errors ) examples?

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Capture.JPGCapture2.JPG

Anonymous
Not applicable

That's because you want to parse in the US format while you should in the UK one... or the other way round. You have to convert using Change Type with Locale.

 

If you scan all the messages in this thread... you'll notice a picture in which there's an option "Using Locale..." You have to use it.

Best
D

How will I change that 

Hi , @Aamir_khan 
right click Date colum ->Chage type ->Using locate

48.png

49.png

For more details , please refer to this post.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

Date = Date(left([column],4),mid([column],6,2),right([column],2)

 

If it has already column detected as date try to change the format

Data Format New Rib.png

 

You can also create a formatting

Formatted Date = format([New date],"YYYY/MM/DD")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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