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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors