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
Aamir2021
Advocate I
Advocate I

Getting error in Date type in Power Query.

Hi,

I downloaded the CSV format file of the Adventure works dataset from the Kaggle. I applied date formating as USA date type in Adventure Sales 2017 date field. However, I am getting an error from rows number 1714 to ending. 

It would be greatly appreciated if you could suggest to me what's wrong with it. A screenshot is attached below.

 

Thank you

 

Aamir2021_0-1646545166100.png

 

1 ACCEPTED SOLUTION
mahoneypat
Employee
Employee

Since it looks like it starts to error at 1/13, I suspect it is a date locale issue. It is potentially coming in mm/dd/yyyy format but your locale is dd/mm/yyyy. If so, please see this article/video.

Change Type Using Locale with Power Query • My Online Training Hub

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
v-angzheng-msft
Community Support
Community Support

Hi, @Aamir2021 

I downloaded this dataset and I noticed that the date value on row 1714 is 1/13/2017.

To select the the location that date format is MM/DD/YYYY will work for you.

vangzhengmsft_1-1646791184860.png

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Employee
Employee

Since it looks like it starts to error at 1/13, I suspect it is a date locale issue. It is potentially coming in mm/dd/yyyy format but your locale is dd/mm/yyyy. If so, please see this article/video.

Change Type Using Locale with Power Query • My Online Training Hub

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


tackytechtom
Super User
Super User

Hi @Aamir2021,

 

Have you checked the error message? You can either click on the Error and it should open the message or select a cell where it says Error and then the message should be displayed on the lower end of your screen.

 

Maybe that already gives you a hint on what is wrong with your data. Otherwise, feel free to share the message and I am willing to help you! 🙂

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

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