Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 !! :(.. )
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
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
50 | |
31 | |
26 | |
26 | |
25 |
User | Count |
---|---|
61 | |
56 | |
33 | |
29 | |
26 |