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

View all the Fabric Data Days sessions on demand. View schedule

Reply
walla386
Helper I
Helper I

OLE DB or ODBC error: How to pinpoint error

Hello,

 

Recently I had the following error when refreshing: "OLE DB or ODBC error: Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))."

 

Based off of other posts it seems like the issue is conflicting data types between files. I was wondering if there was a way to find out which column in my data is causing the issue so I don't have to comb through all of my data?

 

Thanks!

Rob

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @walla386 ,

If you have build permission for the dataset associated with the report , you can download the pbix file for the corresponding report from Power BI Service first.

yingyinr_2-1631854296176.png

Then open it in Power BI Desktop and click Refresh to see which query is reporting an error when you refresh it. In general, this error is reported because the column with the data type Date contains a text value. The following ones are some threads with similar problem to yours, please check the solution. Hope they can help you solve the problem.

OLE DB or ODBC error: Type mismatch. (Exception from HRESULT: 0x80020005)

Error on refresh powerbi based on sharepoint folder/excel structure

OLE DB or ODBC error: type mismatch (exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))  (check the message 8 from chabib )

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @walla386 ,

If you have build permission for the dataset associated with the report , you can download the pbix file for the corresponding report from Power BI Service first.

yingyinr_2-1631854296176.png

Then open it in Power BI Desktop and click Refresh to see which query is reporting an error when you refresh it. In general, this error is reported because the column with the data type Date contains a text value. The following ones are some threads with similar problem to yours, please check the solution. Hope they can help you solve the problem.

OLE DB or ODBC error: Type mismatch. (Exception from HRESULT: 0x80020005)

Error on refresh powerbi based on sharepoint folder/excel structure

OLE DB or ODBC error: type mismatch (exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))  (check the message 8 from chabib )

Best Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors