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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DSwezey
Helper III
Helper III

External SQL server data refresh on Published Dashboard

I currently have a client where we pull data from a SQL server on their Intranet. When we are in our office we connect via a VPN to pull that data.

 

The issue I am having is if I am not connected to their VPN then the web dashboard fails to refresh. 

 

Obviously, when I am working on the Power BI file I am connected to the VPN to grab the data, but I do not want to have my computer on and connected to the VPN at all times for my client to be able to refresh the data on their dashboards.

2 ACCEPTED SOLUTIONS
GilbertQ
Super User
Super User

Hi @DSwezey 

 

Yes if you want to connect to the SQL Server that is sitting behind a VPN then you need to have a gateway server that is either always connected to the VPN, or install the gateway on the SQL Server.


The only time you do not need a gateway is if you are using Azure SQL Databases.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

They need to install the data gateway on some machine that is expected to be consistently available, preferably a local one, but it doesn't have to necessarily be the same machine as the SQL server.

View solution in original post

4 REPLIES 4
GilbertQ
Super User
Super User

Hi @DSwezey 

 

Yes if you want to connect to the SQL Server that is sitting behind a VPN then you need to have a gateway server that is either always connected to the VPN, or install the gateway on the SQL Server.


The only time you do not need a gateway is if you are using Azure SQL Databases.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

AlexisOlson
Super User
Super User

Why do you need your computer in order to refresh the data?

 

The Power BI dataset should connect to their SQL server via a data gateway, right?

Correct, but the data gateway is currently setup on my physical laptop. Would they have to install an on-premis data gateway on their sql server machine?

They need to install the data gateway on some machine that is expected to be consistently available, preferably a local one, but it doesn't have to necessarily be the same machine as the SQL server.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.