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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
KevinColes
Helper III
Helper III

Connecting Power BI Desktop to a remote SQL Server with no VPN connection

Hi everyone,


I have a new situation that came up which I'm trying to find a good solution for. Here is the high level view of the setup for my client:

  • Main data source for all reports is an ODBC connection provided by the vendor to access a cloud based ERP. This works great and I've developed a package of reports. I do all of my development on my local machine and publish to the service. I'm able to do this by having an ODBC DSN locally connecting to the cloud ERP that matches what the client has on their Gateway server.
  • The gateway server is a dedicated server on the client's network and it works well and the Service connects fine.
  • New requirement came in to develop some trending reports that will require point in time data to be captured over long periods to track Earned Value against Budgets of projects over time. In order to capture that I have a SQL Express instance on the Gateway server that queries the ERP over the ODBC connection. This is working great and I'm now capturing daily stats.
  • I developed a simple report using the local SQL data and published it to the service. This worked fine and it now can connect to refresh through the gateway.
  • My conundrum is that I am only being given limited access to the Gateway server and the client doesn't want it open all the time. Add to that the fact that I need to build the new report(s) in an existing report file package that I maintain locally on my machine. 

So with no VPN to the Gateway and no ports open for SQL, what are my options to develop against the SQL Express sitting on the client network? Will I have to copy my report file over to that server and have them let me do soem development over RDP? And what happens when I get back to other reports and my local machine is unable to connect to the second data source? Or should I develop through the service (which seems less intuitive and doesn't have all of the capabilities of Desktop)?

 

Looking for some options so any advice is greatly appreciated!


Kevin

1 REPLY 1
parry2k
Super User
Super User

@KevinColes Not sure you have many choices? Simply you need access to the SQL server, either thru RDP to the clients networks and do the development their assuming you have access to SQL server from the RDP machine or make a replicate of SQL server at your end, develop report connecting to local server, use parameters for connection to the SQL server, after report is published, change parameter value to connect to client's SQL server and you are good to go.

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors