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
Anonymous
Not applicable

text to date


Hello.
I am new to power BI and maybe this is an easy question, however, here it is:

I have a text column, storing dates in the form 27.03.2021 and when I try to convert it to date type I receive error for some rows and for some other it works.
Is there any other way to do this type of conversion?
Thank you

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Anonymous 

What date format do you use?  mm/dd or dd/mm?

The error might be because your locale (format) doesn't match the  date format.

Try right clicking on the column header then Change Type -> Using Locale.

uloc.png

 

Select the Date Type : Date.

You then need to choose the locale of the origin of the data.  So as the dates I'm converting are in USA (mm/dd) format, I choose English (United States) as the Locale.

uloc2.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @Anonymous 

What date format do you use?  mm/dd or dd/mm?

The error might be because your locale (format) doesn't match the  date format.

Try right clicking on the column header then Change Type -> Using Locale.

uloc.png

 

Select the Date Type : Date.

You then need to choose the locale of the origin of the data.  So as the dates I'm converting are in USA (mm/dd) format, I choose English (United States) as the Locale.

uloc2.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


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
Top Kudoed Authors