Forum Discussion
jmccardle77
May 05, 2021Copper Contributor
Help - Date column syntax changes from raw csv data when importing through powerquery
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 imp...
Riny_van_Eekelen
May 06, 2021Platinum Contributor
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".