Help - Date column syntax changes from raw csv data when importing through powerquery

Occasional Visitor

I desperately need assistance for a data import project I am working on. Our developer converted a large data set from SQL to csv. The date column is showing in this syntax 12:18:37 AM when it is imported through powerquery in excel. I have tried to change the type and it gives me an error. I need the actual date format for this import. Any help is appreciated. 

1 Reply

@jmccardle77 Would be good if you could show how the "date" looks like in the CSV file and what date you expect the get from PQ. Could it be that December 18, 1937 is represented in the CSV as 12:18:37?


If so, remove the automatic data type detection step so that you keep the "raw" data as it is in the CSV. In the date column, replace the colons by "/" or "-" and then change the data type to Date. Perhaps you need to do this using a "Date-locale for the US".