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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Importing data from postgresql through SSH

What's the best way to import data from a postgresql server with SSH tunneling?

 

I have data that resides in a cloud server that can only be queried through an SSH tunnel.

3 REPLIES 3
Icey
Community Support
Community Support

Hi @Anonymous ,

Sorry, I don't have a Postgresql database and can't test for you.

But I find some documents and hope they can help you:

PowerBI and PostgreSQL : SSL, Let’s encrypt and Gateway;

Connect Excel to PostgreSQL through SSH Tunnel (Part 1);

Connect Excel to PostgreSQL through SSH Tunnel (Part 2);

Connect PowerBI to a Remote PostgreSQL Database Encrypted with SSL.

 

 

Best Regards,

Icey

 

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

Anonymous
Not applicable

Thanks for the response @Icey , however I'm still unable to connect after trying all your suggestions.

 

I'm able to establish remote access to the server with PuTTY but that's as far as I'm able to go. When attempting to pull data into pbi desktop using the postgresql plugin I get the following:

Error.PNG

 

Did some research and some people said to try installing an earlier version (3.2.7) of npgsql with the GAC installation. I did that and now I get this:

Error2.PNG

 

Help in resolving this would be greatly appreciated.

 

I am facing the same problem. Did you solve it?

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.