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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Connect to a PostgreSQL database

Hello,

 

I want to connect to a Postgre database so I tried two different types of connector:

 

- ODBC connector: At the beginning it worked very well and I was able to retrieve my tables. After no modification at all to the ODBC driver or to Power BI, I got this message:

"DataSource.Error : ODBC: ERROR [HY000] Error while executing the query
Détails :
DataSourceKind=Odbc
DataSourcePath=dsn=Postgre_Datake
OdbcErrors=[Table]"

I got this message even after uninstall and reinstall ODBC driver or Power BI.

But I ‘am able to retrieve my tables by making an SQL request in Power BI like for example: SELECT * FROM table But when making an SQL request it is very slow.

 

- PostgreSQL connector

I have downloaded: Npgsql-4.1.1.msi

Every time I tried to connect to my database with this connector, I get this message:

Details: "An error occurred while reading the provider: Cannot load file or assembly 'netstandard, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = cc7b13ffcd2ddd51' or one of its dependencies. The specified file cannot be found. '"

 

Does anybody had this kind of error on both connector types?

 

Thank you

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

@Anonymous 

 

You may check if the following post helps.

https://community.powerbi.com/t5/Desktop/Not-able-to-connect-Postgres-SQL-database-from-Power-BI/m-p/663990#M319229

Community Support Team _ Sam Zha
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

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may check if the following post helps.

https://community.powerbi.com/t5/Desktop/Not-able-to-connect-Postgres-SQL-database-from-Power-BI/m-p/663990#M319229

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.