Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

DataFormat.Error: We couldn't parse the input provided as a DateTime value.

I have tried some new tricks and played around my datasets. Somehow, I got this error message " DataFormat.Error: We couldn't parse the input provided as a DateTime value." 

 

I have tried a. changed regional setting (on local computer and power bi)- US; b. change the column data type to text-clean-trim and then convert to use locale.

 

However, I am not able to convert to datetime data type (mm/dd/yyyy). Any ideas what might have gone wrong? 

 

 

Thanks. 

3 Replies

  • Anonymous is this date/time or date or time only value column? Can you share the raw data instead of showing the error?

     

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.

     

  • Hi,

    You should first remove the time stamp from those cells and then convert that column into Date.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thanks everyone! I could not figure it out last night. I was on a tight deadline so I replaced the datasource with a new csv file. I am not sure if it may have something to do with my office desktop setting that automatically converts the data type into timestamp and scientific notation?