Let me know if you’ve ever experienced this: You’ve built the perfect Power BI dashboard, but every time you try to update, the visuals stay stuck and don't change...
What gives and how can we fix this?
Well, that’s where Power BI Gateway comes in. It quietly bridges the gap between your on-premises data and the Power BI service, making sure your dashboards stay fresh without you lifting a finger.
If you’ve never heard of it, or aren’t sure how it works, don’t worry because I’ve got your back. In this guide we’ll cover what the gateway is and what it actually does, how to install it, and what to watch out for as you set it up.
So whether you’re working solo or building reports for a team, knowing how to use the gateway properly can save you hours of hassle and confusion.
Sidenote: Want to learn more about Power BI, all its features and how to use it properly? Then check out my complete Power BI course:
You'll learn the full Power BI suite of tools, the M programming language, and the DAX formula language, all while analyzing real-world datasets and building enterprise-level projects.
It will take you from absolute beginner in Power BI to being able to get hired as a confident and effective Business Intelligence Analyst!
With that out of the way, let’s get into the guide…
Power BI Gateway is a tool that connects two worlds: your secure, on-premises data and the cloud-based Power BI service.
Why care about this?
Well, if your reports pull from an on-prem SQL Server, an Excel file on a shared drive, or a network folder, Power BI can’t access that data directly because it lives behind your firewall. That’s why your dashboard isn’t updating — because it can’t pull the live data. And that’s where the need for a gateway comes in.
Power BI Gateway acts as a secure bridge between your local network and the cloud. When Power BI needs fresh data, it sends a request to the gateway installed on your network. The gateway fetches that data using saved credentials and sends it back — automatically, securely, and on a schedule.
It looks a little like this behind the scenes:
You can think of it almost like a secure mail carrier stationed inside your network. Power BI sends a message asking for updated data. The gateway picks it up from your internal system and delivers it back without exposing anything to the public internet.
This unlocks some key benefits:
Installing Power BI Gateway is straightforward, but getting the setup right from the start will save you from common headaches later.
First, decide where you want to install it. The gateway needs to stay online and connected, so don’t install it on your laptop unless it’s always on and always connected. Ideally, you want to install it on a reliable server or virtual machine that runs 24/7.
Here’s how to install and configure the gateway:
Head across to the Power BI Gateway homepage and scroll down to the 2 download buttons for either Standard (Enterprise mode) or Personal:
You need to click on one to download, but which is best for you?
This is the key decision during setup, so let’s break these down.
Personal mode
Enterprise (standard) mode
If you’re just experimenting locally or using Power BI alone, Personal mode is fine. For anything collaborative or production-level, Enterprise mode is the right call.
Click the one you decide on to download and run it.
After installation, sign in with the same account you use in the Power BI Service. This ties the gateway to your environment and lets you manage it in the cloud.
Give your gateway a name and set a recovery key. This lets you move or restore the gateway later if needed.
Sidenote: If you're installing via the Enterprise gateway (standard download), you’ll also have the option to register it with a cluster (for high availability), though you can skip that for now unless you’re setting up multiple nodes.
Once installed, open the gateway app and check that it shows as online. You can also go to Settings → Manage gateways in the Power BI Service to confirm that your gateway is visible and running.
Finally, if your data source requires a specific driver (like Oracle or MySQL), make sure it's installed on the same machine as the gateway. Without it, the gateway won’t be able to connect properly.
And that’s it! Your gateway is installed and ready to be connected to your reports. From here, you’ll set up your data sources in the Power BI Service and link them to the gateway so that refreshes run automatically.
Speaking of which, let’s run through how to use some of the basic features.
Once the gateway is installed and running, the next step is actually using it inside your reports and datasets. This mostly happens in the Power BI Service — not in Power BI Desktop — so you’ll need to be logged into the browser version of Power BI at app.powerbi.com.
It’s pretty intuitive to set up, but here’s a quick step-by-step checklist to make sure you don’t miss anything.
First, build your report in Power BI Desktop like you normally would. Make sure the data source (e.g. SQL Server, Excel file on a shared drive) is something the gateway can access.
Then click Publish, and choose your workspace in the Power BI Service.
Go to Settings → Manage gateways in Power BI Service. You’ll see your registered gateway listed there.
Click on the gateway and then click on ‘Add Data Source’.
You’ll need to:
Power BI will test the connection when you save it. If it fails, check that the gateway machine can access the source directly, and make sure the credentials are correct.
After your data source is added, go to your dataset in the Power BI Service. Under Settings → Gateway connection, you should see your gateway listed as “Online.”
Select it, and then map your dataset’s data source to the gateway connection you just created. Power BI will verify that the connection matches what the report used in Desktop.
If all looks good, the dataset is now wired up for automatic refresh.
Scroll down to the Scheduled refresh section for your dataset.
You can now:
And that’s it — your reports now stay up to date without you doing a thing.
One common mistake that people struggle with is forgetting that credentials are managed separately in the service. This means that even if Power BI Desktop worked fine on your machine, the gateway needs its own credentials set up in the cloud. So make sure they’re stored and encrypted properly when setting up the data source.
So as you can see, Power BI Gateway is essential if you're using Power BI and have any data stored on-premises. Without it, you’ll end up with lagging reports and outdated information.
The good news? It’s quick to set up and runs quietly in the background. So if you’re working with on-prem data, go ahead and set it up now.
But if all your data's already in the cloud, you’re good to go — no gateway needed!
And remember, if you want to learn more about how to best use Power BI for all your business intelligence needs, then Then check out my complete Power BI course:
You'll learn the full Power BI suite of tools, the M programming language, and the DAX formula language, all while analyzing real-world datasets and building enterprise-level projects.
It will take you from absolute beginner in Power BI to being able to get hired as a confident and effective Business Intelligence Analyst!
Better still- if you join ZTM on a membership, you can get access to this course as well as every other course in our library - including my programs on Excel, Advanced Excel, VBA, Python automations and more!
Basically, if you want to work with and understand data - then I've got you covered.
And as an added bonus? Once you join, you get access to our private Discord community.
You can ask me questions directly, as well as speak to other students and working data professionals.