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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
NewvietDairy
New Member

Unable to add new connection to data gateway except the localhost connection

Hi,

 

I am trying to use PowerBI with a PostgreSQL database, and I was sucessfully develop my report with 

 

- PowerBI Desktop on my Local Machine

- On-premise Data Gateway on my Local Machine

- PostgreSQL database on my Local Machine

 

After I published the report to PowerBI, the data gateway on my Local Machine show up and I can get data and the report works perfectly.

 

The problem is that, now when moving this to production, I have my PostgreSQL database on a machine A and my data gateway on machine B. I have tested the database connection from machine B to machine A using a separate SQL client and it works perfectly, but when I added this connection on power BI online, it keeps showing up that my production data gateway is "not configured properly"

 

NewvietDairy_0-1692889292722.png

 

Please check out my above picture, the top one is my local data gateway with local postgres and it works just fine.

 

The bottom one is the production data gateway and production postgres, on two separate machines. No matter how I do the "Add To Gateway" configuration, the connection does not show up there for mapping.

 

Thank you very much in advance

 

1 REPLY 1
foodd
Super User
Super User

Have you revisited the Data Source Settings in the Service?

 

Add or remove a gateway data source

 

foodd_0-1692961031586.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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