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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.