Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a PostgreSQL database hosted on Google Cloud SQL.
I'd like to create dashboards in Power BI Service to visualize this data.
Is it possible to establish a direct connection between Power BI Service and my PostgreSQL database without using a data gateway?
Solved! Go to Solution.
Yes, you can establish a direct connection between Power BI Service and your PostgreSQL database hosted on Google Cloud SQL, but there are some important considerations:
Direct Connection via On-Premises Data Gateway:
Cloud-based Connections:
Steps to Connect:
Firewall and Security Considerations:
How to connect GCP Cloud SQL (Postgresql) with PowerBI if my PostgreSQL instance is not public and have only the private IP?
Hello,@Shravan133 ,thanks for your concern about this issue.
Your answer is excellent!
And I would like to share some additional solutions below.
Hi,@pedrocardo I am glad to help you.
According to your description, you want to connect the power bi service to the data source without using a gateway connection.
As @suggests, you can use a cloud connection to connect to a data source in the cloud to achieve the same effect as a local gateway
like this:
You can choose the appropriate data connection method according to your actual data source needs, using cloud connection or using local data gateway, the important thing is to configure the options correctly, make sure the firewall and port number are set correctly, to realize the normal connection of data!
Below are some articles and official documents I found, hope it helps you!
URL:
[solved] Connecting PowerBI Cloud to PostgreSQL | Flowpoint
Connecting PostgreSQL to Power BI in 3 Best ways | Hevo (hevodata.com)
Power Query PostgreSQL connector - Power Query | Microsoft Learn
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, you can establish a direct connection between Power BI Service and your PostgreSQL database hosted on Google Cloud SQL, but there are some important considerations:
Direct Connection via On-Premises Data Gateway:
Cloud-based Connections:
Steps to Connect:
Firewall and Security Considerations:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 32 | |
| 18 | |
| 14 |