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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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