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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DirectQuery and PostgreSQL

I have try to create a datasource with PostgreSQL DB via DirectQuery. No problem on PowerBI Desktop but on PowerBI service, when try to lad the dashboards go in error. It seems that PostgreSQL via DirectQuery is not supported on PowerBI Service. Is that correct? When this feature will be released?

 

Thanks for reply.

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

PostgreSQL is supported in power bi service, you can refer to the official documents to see the supported data source:

https://docs.microsoft.com/en-us/power-bi/service-gateway-data-sources#list-of-available-data-source-types

please make sure you've configured the data source under the gateway.

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

3 REPLIES 3
kunde13
New Member

Hi,

 

the problem is with DirectQuery not working on PowerBi Service, as it says in the documentation you linked @v-diye-msft .

DirectQuery = NO 

 

OP is asking whether this is on the roadmap or already scheduled to release as this feature is available in PowerBi Desktop.

When can one configure a PowerBi Gateway to use DirectQuery with Postgres?

There is an open source connector https://github.com/sgoley/DirectQuery-for-ODBC-in-PowerBI for this, but I've yet to test it.

Anonymous
Not applicable

At the moment (19/10/20), the Power BI Data Sources table shows Direct Query/Live Connection support for PostgreSQL.

 

Still, even simple correctly folded tables (verified with QueryFolding) cannot be shown.

 

I would like Microsoft to clarify if there are indeed still some bugs which would force PostgreSQL to use ODBC connector.

v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

PostgreSQL is supported in power bi service, you can refer to the official documents to see the supported data source:

https://docs.microsoft.com/en-us/power-bi/service-gateway-data-sources#list-of-available-data-source-types

please make sure you've configured the data source under the gateway.

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.