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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
bill2999
Regular Visitor

Setup Direct Query and PostgreSQL ODBC connection.

In PowerBI I have setup an ODBC connection to a Greenplum Postgres database.  While this connection is successful "importing" the data into the report, I do not get the "Direct Query" option -which is what I want. I have read it is possible to set "Direct Query" using something called M (but this may be Powerquery?  is this in PowerBI?) and ODBC at the link below.

 

Enabling DirectQuery for an ODBC-based Power Query connector - Power Query | Microsoft Learn

 

Does anyone know if it is possible to setup DirectQuery with Postgres using an ODBC driver?

 

2 REPLIES 2
bill2999
Regular Visitor

Thanks for the response, unfortunately when I connect through an ODBC driver neither of those options are available (There is no data connectivity mode through ODBC and the two storage modes other than import are grayed out.   I tried using the advanced editor and setting "SupportsDirectQuery=true" but no luck.  

Anonymous
Not applicable

Hi @bill2999 ,

 

You can connect to PostgreSQL based on the built-in connector. It provides the DrectQuery mode to choose.

vstephenmsft_0-1690354381283.png

You can also try switching the import to DirectQuery in Model view.

vstephenmsft_1-1690354866108.png

 

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

Helpful resources

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

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.