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
jpd99
Frequent Visitor

Direct Query Errors usign PostgreSQL

I have been trying in vain for days to create a direct query report drawing from a postgresql database now that this is supposedly supported.  Upon closing and re-opening an otherwise functioning report I get an error message: 'Couldn't load the data for this visual' across all visuals.

 

'Direct query may not be used with this data source - consider moving to a supported data source or upgrading the SQL server data source to the latest available version.'

 

I can't understand the failure since on saving the report worked ok.  It's extremely lim

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

@jpd99 ,

 

Currently, power bi doesn't support direct query/live connection with PostgreSQL data source. Please refer to doc below:

https://docs.microsoft.com/en-us/power-bi/power-bi-data-sources

 

Regards,

Jimmy Tao

View solution in original post

2 REPLIES 2
ikris
New Member

I encountered the same issue and I found a work around.

 

I installed a gateway and configured it to point to that postgres instance server, this acted sort of like a help for the data source to find a route and authenticate without encryption. However i observed that the direct query could now connect and if I changed data and refreshed on the dashboard, i would see the changes.

ikris_1-1603545947809.png

 

The only draw back was the gateway needs to be up, but the direct query works just fine

 

would love to hear from someone how many rules I have broken or any better option.

 

v-yuta-msft
Community Support
Community Support

@jpd99 ,

 

Currently, power bi doesn't support direct query/live connection with PostgreSQL data source. Please refer to doc below:

https://docs.microsoft.com/en-us/power-bi/power-bi-data-sources

 

Regards,

Jimmy Tao

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

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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