Forum Discussion
DataFormat.Error: We couldn't parse the input provided as a DateTime value.
- 9 years ago
After playing with your text file for 15 mins, I have found that there are some extra space at the front of your date column. Can you please remove those extra characters.
Steps to follow afterwards:
1. Split the column by 11 characters. This will separate Date and Time
2. Split the Date column by "/" Delimiter
3. Change the data type of the newly created columns to Whole number
4. Bring the Day column first by dragging, Month column second and Year column last
5. Select all these three collumns and go to Add column Tab, Select Merge Columns and in Merge dialog, Select "/"Separator.
6. Change the data type of the merged column to Date.
So many steps .....
Hi, the power query editor considers your laptop's default date format so if the data is not in that format it might cause a problem in changing the data type.
Hence, you may split the column by delimiter and add a new column (using add a column from example, considering your system's date format).