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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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 ( )
  • 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. 

Community Support
Community Support

Hi @JAM_99 


Please check if these docs help:

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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors