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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors