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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
AGUS
Frequent Visitor

Connect postgreSQL to power BI web

Hi!

 

I was able to connect PowerBI to Postgres on Desktop, but when I view it in the web/cloud verison it gives me the error: "Failed to update data source credentials:  The PostgreSQL source doesn't support encrypted connections."

 

I'm already using a gateway with my PC and it works with connection with MySQL.

 

How can I get the connection with PostgresSQL to work on PowerBI web?

 

Thank you.

1 ACCEPTED SOLUTION

Hi @AGUS ,

 

I am not an expert in doing it in the gateway, but this article appears to show the gateway setup.

PostgreSQL data refresh using Data Gateway in Power BI report | by Ramu Vudugula | Medium

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

7 REPLIES 7
collinq
Super User
Super User

Hi @AGUS ,

 

This article explains how to connect to PostgreSQL

Power Query PostgreSQL connector | Microsoft Docs




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




AGUS
Frequent Visitor

Hi,

 

I have the connection at desktop level but when I upload it to Power BI web the connnetion is lost.

This is the message when I try to configure it:

AGUS_0-1620223929726.png

I don't know how to do it.

Thank you

Hi @AGUS ,

 

I am not an expert in doing it in the gateway, but this article appears to show the gateway setup.

PostgreSQL data refresh using Data Gateway in Power BI report | by Ramu Vudugula | Medium

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




AGUS
Frequent Visitor

Thank you very much!

Hello @AGUS , 
I face the same issue. Is the gateway a solution to the problem? 
Thank you in advance for your answer 

Hello @RaissHajar 

I found a solution. I set up an ODBC connection with postgress in the computer with the gateway. It´s a poor solution because you need to have this computer always on and internet conneted.

https://ramvudugula9.medium.com/postgresql-data-refresh-using-data-gateway-in-power-bi-report-ac8095...

I highly recomend to use databricks.

Thank you so much for your answer @AGUS . 
I implemented the solution and it works with my on-prem DB. 
I will also explore Databricks. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors