Power Query is parsing the dates incorrectly? How to fix?

jplank

Board Regular
Joined
Sep 19, 2012
Messages
62
I have a table that I've loaded into Power Query Editor. One column is a date that is being read in incorrectly. For example, the date will show 04-Jan-16 and it's being read as Jan 16, 2004. But it should be read as Jan 4, 2016. Is there a way to tell Power Query how to use dd-mmm-yy format when reading the date?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Here is the data as read from the excel file:
1580823952103.png

Here is the data after labeling the column type as Date:
1580824010993.png

I'm not sure how to attach the source workbook to this post.
 
Upvote 0
so try this to change
locale.png

choose country with dd/mm/yyyy
but it all depends on your regional settings (windows)

or in Query Options
regional.png
 
Upvote 0
will be better if you convert date column in source data via Text To Columns and choose there proper format
because here (on the picture) your date is as text not as date, less troubles ;)
 
Upvote 0
so you're probably limited to options from post#4
or set it manually (eg. split, add prefix, change month text to number, merge in correct order ...)
 
Upvote 0

Forum statistics

Threads
1,223,809
Messages
6,174,759
Members
452,581
Latest member
ruby9c

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top