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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
jpapador
Frequent Visitor

Publish app and connect to existing data gateway

I have successfully set up a data gateway and a connection to my on premise server (AS400 via OLE DB).  All the test connections come back successful.  My issue is I have created an app in PBI desktop which also connects to that same AS400 (OLE DB).  When I publish the app up to the PBI service how do I tell PBI that the dataset that was just published should be connected to the dataset in my gateway?

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @jpapador,

 

The link between your dataset and the data source within the gateway is based on your server name and database name. These have to match.

 

After publishing the report to Power BI service, you just need to select the gateway under Datasets Settings in Power BI service. For more details about this, you can refer to this article. Smiley Happy

 

gateway1.PNG

 

Regards

View solution in original post

3 REPLIES 3
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @jpapador,

 

The link between your dataset and the data source within the gateway is based on your server name and database name. These have to match.

 

After publishing the report to Power BI service, you just need to select the gateway under Datasets Settings in Power BI service. For more details about this, you can refer to this article. Smiley Happy

 

gateway1.PNG

 

Regards

I have two identical Data bases within one 'workspace/app' . 

 

One is able to use the data gateway installed on the server (enterprise), the other isn't. Your thoughts?

Solution (as stated many times online) : database credientials (pbix/ Powerbi Desktop) have to match the gateway. For me, this means no SQL and connection strings 😞

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.