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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Joel_Clark
Advocate I
Advocate I

inconsistent reading of date format UK<>US

I am reading in data from an online spreadsheet in SharePoint and Power Query is inconsistently reading the date formats. I've double checked the source file and can see no reason for it as the values look consistently correct. 

 

On the left is the Power Query view, data type is date and UK formats hold until 31st of January at which point is seems to switch to US format and shows the second of March instead of 3rd Feb. You can see the source data in the other image which i've checked as clean. The real problem for me is the inconsistency. If it was one way or the other i could handle it.

 
 
 

Any ideas, hint, tips or support are gratefully received!

Thanks

1 ACCEPTED SOLUTION

Hello @Joel_Clark 

 

There seems to be something utterly wrong in your database because I'm not able to undestand what dataformat you have in Excel

image.png

the first lines are indicating 16th Jannuary - meaning MM/DD/YYYY. But this logic can not be applied to the other lines. I suppose this dates are mainainted as text in your Excel. 

SO just change the date format in Excel and you should be fine

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

View solution in original post

2 REPLIES 2
Joel_Clark
Advocate I
Advocate I

Seems it didn't post the images first time round

Power Query Desktop.PNGExcel Source.PNG

Hello @Joel_Clark 

 

There seems to be something utterly wrong in your database because I'm not able to undestand what dataformat you have in Excel

image.png

the first lines are indicating 16th Jannuary - meaning MM/DD/YYYY. But this logic can not be applied to the other lines. I suppose this dates are mainainted as text in your Excel. 

SO just change the date format in Excel and you should be fine

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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