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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
abbytank
Frequent Visitor

Date Data format error

Hi everyone,

 

While trying to import data source from excel with the following data:

 

ProductKeyCustomerKeySales_DateQuantity
22331906912/6/20221
1872164612/6/20221
1872164512/6/20221
1872163812/6/20221
1872163512/6/20221
1081906312/6/20221
17031768516/6/20221
17031768416/6/20221
17031756816/6/20221
17031756716/6/20221
17051320119/5/20221
17051320019/5/20221

 

The power query is showing the following error:

DataFormat.Error: We couldn't parse the input provided as a Date value.
Details:
29/2/2021

 

Here is what I did, I have changed the data type using locale with data types of English(UK) sample: 29/03/2022 and English(US) sample: 03/29/2022, none helped.

 

I have also, splitted the column to three columns and remerged, and still not working. 

 

Please help.

 

Thank you in advance.

1 ACCEPTED SOLUTION
serpiva64
Super User
Super User

Hi,

you have a problem in your data.

2021 is not a leap year so you can't have 29/2/2021 and that's the cause of the error

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

View solution in original post

1 REPLY 1
serpiva64
Super User
Super User

Hi,

you have a problem in your data.

2021 is not a leap year so you can't have 29/2/2021 and that's the cause of the error

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors