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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors