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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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