cancel
Showing results for 
Search instead for 
Did you mean: 
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.

 

If my response has addressed your question or concern, kindly mark this post as resolved. If you found my assistance helpful, consider giving it a thumbs.
Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors