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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors