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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
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.