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
Anonymous
Not applicable

Using an exisiting gateway

I might be missing something here, but after a bunch of googling and reading documentation I wanted to check.

 

So, my client has a set up gateway to their SQL server. They have a report that is connected over that gateway and everything seems to be ok.

 

They tasked me to create a new report with sample data. Now, when it's done I want to connect the report to the live data from the server. I get their login information (the account is connected to the gateway that is set up), I install the gateway on-premise service. I put in the login information yet PBI still can't talk to the SQL server. I opened the ports. What am I missing?

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

On-premises gateway is used to connect Power BI Service and on-premises data sources. If you want to connect your PBI desktop to your client's SQL Server data base, both of them are on-premises and there is no need to use a gateway. You just need to change the data source. If your sample data is also from a SQL Server DB, you can change that in Data source settings easily. See https://addendanalytics.com/how-to-change-the-data-source-in-power-bi/ 

 

If you want to change data sources dynamically, you can use query parameters. See https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters 

 

If you want to change data source type, you can read https://radacad.com/change-the-data-source-type-of-the-power-bi-dynamically-using-power-query-parameters 

 

If you want to use this report in Power BI Service, you don't need to install a gateway either. You can ask the existing gateway's administrator to add you as a user of this data source. After you publish the PBI report to their Power BI Service, it will detect the data source on the gateway for the dataset automatically. Read Add users to a data source section in Add or remove a gateway data source - Power BI | Microsoft Docs

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

On-premises gateway is used to connect Power BI Service and on-premises data sources. If you want to connect your PBI desktop to your client's SQL Server data base, both of them are on-premises and there is no need to use a gateway. You just need to change the data source. If your sample data is also from a SQL Server DB, you can change that in Data source settings easily. See https://addendanalytics.com/how-to-change-the-data-source-in-power-bi/ 

 

If you want to change data sources dynamically, you can use query parameters. See https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters 

 

If you want to change data source type, you can read https://radacad.com/change-the-data-source-type-of-the-power-bi-dynamically-using-power-query-parameters 

 

If you want to use this report in Power BI Service, you don't need to install a gateway either. You can ask the existing gateway's administrator to add you as a user of this data source. After you publish the PBI report to their Power BI Service, it will detect the data source on the gateway for the dataset automatically. Read Add users to a data source section in Add or remove a gateway data source - Power BI | Microsoft Docs

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

amitchandak
Super User
Super User

@Anonymous , On the machine you have on-premise gateways, are you able to access the SQL server using these details? and On-premise gateway is up and running and logged in

 

Also, you need to exact the same details that you have given in the power bi file.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hey @amitchandak , thanks for the fast reply.

 

I don't have the login information to the server due to some security constraints. I would just like to find a way to reuse their exisitng gateway and connect to my PBI desktop without getting that login information. Is that even a possibility?

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.