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
SyamKumar
Frequent Visitor

Getting ODBC error [HY000]: 'Specified cast is not valid' while loading data from Mongo DB

DB connected fine in the Power BI Desktop, getting errors while loading data from Mongo DB tables.

1 ACCEPTED SOLUTION

As I have been using the latest version of Power BI Desktop, the proposed solution did not resolve the issue. In order to find the problem, I debugged every column in the table. There was a blank value in one of the date columns. The problem has been resolved after I corrected it.

View solution in original post

3 REPLIES 3
v-chenwuz-msft
Community Support
Community Support

Hi @SyamKumar ,

 

Please update your desktop to the latest version, and the error maybe will be gone.

Download Microsoft Power BI Desktop from Official Microsoft Download Center

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

As I have been using the latest version of Power BI Desktop, the proposed solution did not resolve the issue. In order to find the problem, I debugged every column in the table. There was a blank value in one of the date columns. The problem has been resolved after I corrected it.

Hi @SyamKumar ,

 

I'm glad your problem was solved, please mark your answer as a solution so that people with the same problem as you can find the answer quickly.

 

Best Regards

Community Support Team _ chenwu zhu

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors