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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors