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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to connect a MongoDB database with power BI Desktop when TCP/IP Server is not localhost ?

Secret Deodorant | Clinically Proven Aluminum Free Deodorant gives you 72 hrs proven odor protection...
How to connect mongodb with power bi (youtube.com)

Here are some of many videos which explain how to connect a mongodb database to a power bi dashboard. But those videos show only the case where database is in a localhost, in need to find how to import a mongoDB database when the server is not a localhost.

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

 

The following steps are for your reference:

 

  • First, make sure that the MongoDB ODBC driver is installed on your computer, which is required for Power BI to communicate with MongoDB. You can download the driver from the official MongoDB website.
  • After installing the MongoDB ODBC driver, you need to configure the ODBC data source for the MongoDB database. During configuration, specify the connection details for the remote MongoDB server, including the server address, port, database name, and authentication credentials if required.
  • Open Power BI Desktop and go to Get Data. Search ODBC and select the Data Source Name (DSN) configured for the MongoDB database. Follow the prompts to import the data into Power BI.

vxuxinyimsft_0-1710407599230.png

 

You can also refer to this document: Solved: MONGODB Connection with power BI Issue - Microsoft Fabric Community .

 

Best Regards,
Yulia Xu

 

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

 

The following steps are for your reference:

 

  • First, make sure that the MongoDB ODBC driver is installed on your computer, which is required for Power BI to communicate with MongoDB. You can download the driver from the official MongoDB website.
  • After installing the MongoDB ODBC driver, you need to configure the ODBC data source for the MongoDB database. During configuration, specify the connection details for the remote MongoDB server, including the server address, port, database name, and authentication credentials if required.
  • Open Power BI Desktop and go to Get Data. Search ODBC and select the Data Source Name (DSN) configured for the MongoDB database. Follow the prompts to import the data into Power BI.

vxuxinyimsft_0-1710407599230.png

 

You can also refer to this document: Solved: MONGODB Connection with power BI Issue - Microsoft Fabric Community .

 

Best Regards,
Yulia Xu

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.