Forum Discussion

SyamKumar's avatar
SyamKumar
Frequent Visitor
4 years ago
Solved

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.

  • SyamKumar's avatar
    SyamKumar
    4 years ago

    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.

3 Replies

    • SyamKumar's avatar
      SyamKumar
      Frequent Visitor

      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.

      • v-chenwuz-msft's avatar
        v-chenwuz-msft
        Icon for Community Support rankCommunity Support

        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