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
mathiasb17
Frequent Visitor

MongoDB - Direct Query

Hello, 

 

Currently i have Power Bi connected to Mongo DB with an ODBC connector that implies the "Import" Connectivity. As this Database is large, it is very long to refresh the dataset.

 

I want to connect Power Bi to Mongo DB using "Direct Query" as to only retrieve what's necessary. 

 

So far, i created a new system DSN that uses MongoDB ODBC 1.4.2 ANSI Driver. Then in Power Bi : 

 

1 - i selected BI Connector (as i have mongosqld running on my server, which is mongodb's bi connector)

mathiasb17_0-1606210802634.png

 

2 -  I selected my new system DSN : 

 

mathiasb17_2-1606210913083.png

3 - after clicking OK i typed my credentials  (please note that i get to this step even if i type a dummy dsn name that doesn't exist)

 

mathiasb17_3-1606211347290.png

 

4 - i observe the same error every time, though all needed tcp/udp ports are open (and i manage to connect with the ODBC connector) :

mathiasb17_4-1606211409512.png

How can i connect Power Bi to MongoDB with Direct Query ?

 

Thanks a lot

Mathiasb17

0 REPLIES 0

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.