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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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 Kudoed Authors