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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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