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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
JAM_99
New Member

How to connect to Mongo DB via ODBC or any other connector

Hello Everyone,

 

I am trying to connect to Mongo BD (Mongo DB Atlas Replica Set) from Power BI Service & Power BI desktop but I am facing some issues. As follows:-

Mongo DB to Power BI Desktop Connection:

  • As per the documentation, we should be able to connect Mongo DB to Power BI Desktop using ODBC Connector after installing ODBC Mongo DB Driver & creating the System DSN. But it is not connecting using this method
  • I am able to connect to Power BI Desktop to Mongo DB by installing Mongo DB BI Connector but in that method, I need to run some commands in Windows CMD & keep the window active for uninterrupted connection which is not possible ( https://medium.com/qimi-techblog/connecting-mongodb-hosted-in-mongo-atlas-with-powerbi-including-m0-... )
  • I need a method where I can connect to Mongo DB without this issue

Mongo DB to Power BI Service Connection:

  • I didn't find any method to connect to Power BI Service to Mongo DB by On-Premises data gateway & dataflow without any third-party software.

Please Suggest if anyone has connected to Mongo DB.

 

Thank you in Advance. 

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @JAM_99 

 

Please check if these docs help: 

https://docs.atlas.mongodb.com/tutorial/connect-bic-powerbi/

Connect from Microsoft Power BI Desktop — MongoDB Connector for BI

 

For the second issue, currently it is not supported to connect to Mongo DB directly on Power BI Service. To refresh the dataset from Mongo DB on Power BI Service, you can first build these connections in Power BI Desktop and publish the PBIX file into Service. After that, configure the On-Premises data gateway to refresh the dataset. You will find some guides in comments of your shared article. (Yes it is possible to connect PowerBI cloud version with Mongo. | by Luis Mego | Medium )

 

Best Regards,
Community Support Team _ Jing Zhang

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.