Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

OLE DB or ODBC error: [DataFormat.Error] We couldn't parse the input provided as a DateTimevalue...

I'm trying to import a data set and I'm getting this error. Any suggestions for how to resolve this?

 

4 REPLIES 4
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Which data source do you import into Power BI Desktop? Based on the above error message, it seems that there are DateTime columns in your data source and Power BI Desktop cannot properly convert the columns.

Firstly, please make sure that these columns are really defined with DateTime format rather than Text format.

Secondly, the DateTime data type/format is controlled by the Locale Setting in Power BI Desktop, change the Locale setting to match the source date format following the instructions in this similar thread.


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for the advice. I had already verified the format and the locale setting was already in alignment. It didn't fix the issue.

Hi @Anonymous,

What is your data source? Would you mind sharing sample data or your source file?


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

What is the DateTime format supported by Power BI to push data in that column?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors