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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ryankang
Frequent Visitor

how to confirm credential postgresql DB connection?

Hi.

I made connection postgresql DB on power bi desktop, and i can see the table(DB data) 

but when i upload the pbix file to power bi service, 

'An error happened while reading data from the provider: 'No connection could be made because the target machine actively refused it'

i can't understand why it couldn't be connected.. it was possible to connect through power bi desktop to postgresql DB!

i wonder how to connect and what is the solution 😞 ...? 
(DB ID, PASSWORD is correct !! :(.. ) 

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @ryankang 

 

You would need to have a gateway to connect to the PostgreSQL database

 

You could follow these steps which are similar to get it connected to the database: Tutorial: Connect to on-premises data in SQL Server - Power BI | Microsoft Docs





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

Proud to be a Super User!







Power BI Blog

thank you for reply.

 

but i can't resolve this problem, and i don't understand why i have to make a gateway through the site you
mentioned? 

and i can see the table in the desktop, and there is no problem. 

but when i upload the file to the service, this error comes up! 

please let me know the detail.. 😞 

Hi @ryankang ,

 

Have you solved your question?

The reason why installing gateway is that may be your data source is on-premise, if it is from local, the gateway will be necessary.

 

If you still in trouble, can you give me a screenshot about your error message? Thank you in advance~

 

Best regards,

Community Support Team Selina zhu

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.