cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 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

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors