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

Connecting Power BI Service to Local PostgreSQL

Hello,

First of all, apologies for asking such basic questions, but somehow I couldn't find any working solution anywhere in forums - I'm still a beginner so its possible I ran into actual solution without actually recognizing it.

 

I ran into an exception stating I'm supposed to install NPgsql 4.0.10.0, which I did install (from https://github.com/npgsql/npgsql/releases/download/v4.0.10/Npgsql-4.0.10.msi ).

 

My postgreSQL connection works smoothly in Power BI Desktop, and Ive succesfully used my data gateway to import .csv and .xlsx files already. Any tips on how to make DB connection work as well?

1 REPLY 1
arvindsingh802
Super User
Super User

You need to install the NPgsql 4.0.10.0 on gateway server similar to your development enviornment

once done, please create a data source and use that for refreshing your dataset on service.


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

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.