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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.