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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors