Forum Discussion
DataFormat.Error: We couldn't parse the input provided as a Date value - Ok, but WHERE?
- 3 months ago
Hi Ximarin ,
Since Power Query does a truncate of the values and only shows the values for 1000 rows if your files have a lot of data then you won't be able to check the error.
I suggest that before you do the formatting to date you add a new column with the following code:
try Date.FromText ([YourDateColumn]) otherwise "ERROR"This will return values of ERROR on the incorrect ones then filter out the ones with Error and you will be able to check what are those fields, and then handle them has you may see fit.
@ Ximarin,
In powerquery: Please try changing the column profile (selecting to preview the steps with all the dataset and not only the top 1000 rows) so you can see what happens with all data in the powerquery canvas before loading the data to power bi; therefore i expect you can check where the error is.