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
Anonymous
Not applicable

Support for newer NpgSQL (PostgreSQL) version

Hello,

 

The follow problem was encountered: When you have `FOREIGN TABLE`s in the database, they are not shown in the the table/schema selector within Power BI.

 

After some investigation I noticed this ahs been fixed in a new NpgSQL version (4.1.4), whereas the Power BI application is shipped with an older 4.0.10. I assume this is because the newer NpgSQL versions are using an incompatible (?) .NET setup for Power BI. The following is needed: https://github.com/npgsql/npgsql/pull/2525

 

In order for me to debug this some more, I would like to get some insight on the following points:

- How can I see which NpgSQL version Power BI is using? As the documentation says the following "while on-premise refresh will use the local installation of NpgSQL, if available, and otherwise use NpgSQL 4.0.10".

- Did anyone successfully used a newer NpgSQL connector?

- This functionality can be easily backported to 4.0.11. Would it be possible to use a different version in the Power BI environment?

 

If the route of backporting is taken, it might also be an idea to ship this standard in the new Power BI versions.

 

Update: A backport has been deployed to the supported branch of NpgSQL 4.0.x: https://github.com/npgsql/npgsql/releases/tag/v4.0.12. This, however, still does not show the FWD tables in Power BI.

 

Ref: Postgres, NpgSQL, Foreign table

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

v-lionel-msft_0-1620885543538.png

Please refer to the link.

PostgreSQL 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

This is exactly what I tried. My questions still stand.

 

I created a hotfix to 4.0.x (https://github.com/npgsql/npgsql/pull/3722) and can check if that works once it is released.

 

But I still would like to see if PowerBI is connected with my CAG installation.

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.