
Active Member

March 17, 2021

Hi,
I have "Sales Data June Text file", in which, the first column contains dates. When I import this file into power query, date column showing as text. Then I tried to "transform" text date to Date format. But only 126 rows (2nd row to 126th row) converted to Date Format. Remaining rows (cells) showing Error. Please explain cause & solution.
Regards
Raj Kumar


November 8, 2013

That happens because your computer date format is set to US format: MM-DD-YYYY.
The text file has a different date format: DD-MM-YYYY, PQ fails to convert date to US format at row 127, where Month should be 13 (which obviously is wrong).
Right click the Date column and Change Type using locale (Use English Australia, it has DD-MM-YYYY format)

Answers Post
1 Guest(s)
