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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sam_nik12345
Helper II
Helper II

Date format error

Date in my table looks like below in text format. When I covert to date type i get an error "dataformat.error we couldn't parse the input provided as a date value". Kindly help.

 

Date
 
2 Aug 2020
9 Aug 2020
16 Aug 2020
23 Aug 2020
3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi, @sam_nik12345 

The data you provided can work  well on my side.

Please double check your original data to make sure there are no extra spaces in the table.

You can refer to this similar thread.

DataFormat.Error: We couldn't parse the input provided as a DateTime value. 

 

Best Regards,
Community Support Team _ Eason

 

bcdobbs
Super User
Super User

I suspect the dates themselves are ok however some other values in the column are causing issues.

 

  • In power query try running clean and trim on the column.
  • Scan down list of values and make sure nothing is out of place eg no "Not Applocable"

 

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
AnkitKukreja
Super User
Super User

Hi! @sam_nik12345 

 

What is your datasource? Because when I paste this date and convert this, I don't see any isssue.

If possible, please share your pbix file without your PII data.

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.