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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.