How to Add a Gateway in Power BI
A Power BI report is only useful if its data is fresh, but manually republishing your work every day is a tedious and time-consuming chore. This is where the Power BI Gateway comes in - it's the essential bridge that automates data refreshing for your on-premises data sources. This guide will walk you through what a gateway is, how to install it, and how to connect it to your reports so you can set it and forget it.
What is a Power BI Gateway (and Why Do You Need It)?
Think of the Power BI Gateway as a secure, guarded tunnel. On one side of the tunnel is the Power BI Service, which lives in the cloud. On the other side is your company's data, which might live on a local computer or a server inside your office building - what's known as "on-premises" data. These two worlds can't talk to each other by default for security reasons.
The gateway acts as that secure tunnel, allowing the Power BI Service to safely reach into your local system, grab the latest data from a source like a SQL Server database or an Excel file, and automatically update your reports and dashboards. Without a gateway, your published reports are just a static snapshot. You'd have to open your Power BI Desktop file, hit the refresh button, and republish it every single time you wanted the latest numbers.
By setting up a gateway, you enable scheduled refreshes. This means you can tell Power BI, "Hey, update this sales report every morning at 8:00 AM," and the gateway makes it happen automatically, ensuring your team is always looking at the most current information without any manual headaches.
Choosing the Right Gateway: Standard vs. Personal Mode
When you go to download the gateway, Power BI offers two different modes. Choosing the right one is important, but the decision is usually pretty straightforward.
- Standard Mode: This is the one you'll use 99% of the time, especially in a business setting. It runs as a service in the background, can be shared by multiple users, and gives you full access to all of Power BI's capabilities, including both Import and DirectQuery/Live Connection for your data. If you're building reports for a team or an entire organization, this is the mode for you.
- Personal Mode: This mode is designed for a single user and runs as a regular application, not a background service. It's simpler to set up but is much more limited - it only works for data that uses the Import method. It's okay if you're a solo analyst just learning the ropes, but it isn't built for collaborative, production-level reporting.
Our recommendation: Always install the gateway in Standard Mode. It's more powerful, scalable, and what businesses universally rely on.
Before You Begin: System Requirements and Prerequisites
Before you jump into the installation, let's do a quick pre-flight check to make sure the process goes smoothly. You'll need a few things in place first.
Here's a checklist:
- A Power BI Account: You need a Power BI Service account to register the gateway.
- Admin Rights: You must have administrator privileges on the computer where you plan to install the gateway.
- An Always-On Computer: This is the most crucial requirement. The computer hosting the gateway needs to remain on and connected to the internet. If it's turned off or goes to sleep, the gateway will be offline, and your data refreshes will fail. Don't install it on your personal laptop that you take home every night - use a dedicated desktop or, ideally, a server that's always running.
- System Software: The machine must run a 64-bit version of Windows Server 2012 R2 or newer, or a 64-bit consumer version like Windows 10/11.
- .NET Framework: You need .NET Framework 4.8 or later installed (the gateway installer will usually prompt you if it's missing).
Ensuring these are in order will save you from common headaches down the road.
Step-by-Step Guide: Installing the Power BI Gateway (Standard Mode)
Ready to get started? Follow these steps to install and configure your on-premises data gateway.
Step 1: Download the Gateway Installer
First, you need to grab the installation file from the Power BI Service.
- Log into your Power BI account at https://app.powerbi.com.
- In the top right corner of the screen, look for the download icon (a down-facing arrow).
- Click it and select Data Gateway from the dropdown menu.
- This will open a download page. Click the Download standard mode button to save the installer file (‘GatewayInstall.exe’) to your computer.
Step 2: Run the Installer
Once the download is complete, locate the file and double-click it to start the installation. The setup wizard is very direct.
- Accept the initial prompt asking if you need to choose an installation path (the default is usually fine). Click Next.
- You'll be asked to choose a gateway mode. Select On-premises data gateway (recommended).
- Review the minimum requirements and accept the terms of use.
- Click Install. The process will take a few minutes.
Step 3: Sign In and Register Your Gateway
After the software is installed, you need to register it with your Power BI account. This connects the gateway software to your cloud service.
- Once the installation finishes, you'll be prompted to enter the email address for your Power BI account. Enter it and click Sign in.
- Next, choose Register a new gateway on this computer and click Next.
- Name your gateway. Choose a descriptive name that helps you identify its purpose or machine, such as "Marketing-SQL-Gateway" or "Finance-Server-Gateway." This is especially useful if your organization has multiple gateways.
- Create a Recovery Key. This is extremely important. This key is like a master password for your gateway. You'll need it if you ever have to migrate your gateway to a new machine or restore it. Create a strong key and save it somewhere incredibly safe, like a password manager. Treat it just like you would any critical password.
- After entering and confirming the recovery key, click Configure.
Once you see the confirmation screen telling you "The gateway [your gateway name] is online and ready to be used," you're all set! Now you can manage it from the Power BI Service.
Adding and Connecting a Data Source to Your Gateway
With the gateway installed and running, the next step is to tell it which local data sources it has permission to access.
- In the Power BI Service, click the Settings gear icon in the top right, and then select Manage connections and gateways.
- On this screen, you'll see your new gateway listed under the On-premises data gateways tab.
- Next to your gateway's name, click the three-dot menu (...) and select Add data source OR click "+New" on the top of the screen.
- Give your connection a unique name, for example, "Company_Sales_Database".
- Under Data source type, pick the kind of data source you are connecting to, such as SQL Server, an Oracle database, a SharePoint folder, etc.
- Fill in the necessary server and database information.
- For Authentication Method, select how you will provide credentials. Windows is common for SQL Server, using your Active Directory login. Basic might be used for sources requiring a specific username and password. Enter the required credentials.
- Click Create. Power BI will test the connection, and if everything is correct, you'll see a green "Connection successful" message.
Configuring Your Report to Use the Gateway for Scheduled Refresh
You have an installed gateway and a connected data source. The final piece of the puzzle is telling your published Power BI report to use it.
- Navigate to the Workspace that contains the report and dataset you want to auto-refresh.
- Find the dataset (it often has the same name as your report, distinguished by the icon on the list) and click the three-dot menu next to it. Select Settings.
- In the dataset's settings, expand the Gateway and cloud connections section.
- Under the On-premises gateways area, you should see the data source from your report. Use the Maps to: dropdown menu to select the gateway connection you just created.
- Once your data source is mapped, scroll down and expand the Scheduled refresh section.
- Toggle the switch to On.
- Now, you can set the Refresh frequency (usually Daily) and add the specific times of day you want the refresh to run. You can add multiple times.
- Click Apply, and you're done! Power BI will now use your gateway to update the dataset at the times you scheduled.
Common Gateway Problems and Troubleshooting
Things don't always go perfectly. Here are a few of the most frequently encountered issues people face with their gateways and how to solve them:
- "Gateway is Offline": This is the number one issue. It almost always means the machine hosting your gateway is either turned off, asleep, or disconnected from the internet. Remember, the gateway is software, which means if its host computer stops working, it stops too. This is why you must use an always-on machine for any important reports.
- Credential Errors: If you get a data source connection failure message, the first thing to check is credentials. Double-check the username and password in the gateway's "data source settings." Did the password recently change? Best practice for a service is not to use your own personal credentials but create one (ask your IT Administrator to help), which will avoid any future failures due to password reset policies applicable to standard user accounts.
- Slow performance: This often means that the hosting machine is struggling - maybe another service overloads the machine. The best practice would definitely be to have a dedicated Power BI Gateway server. Always use for Gateways a physical or at least a separate dedicated Virtual Machine running as close as possible to the data sources involved in data refresh, it will significantly impact the speed and reliability.
Final Thoughts
Setting up a Power BI gateway is an investment that pays for itself almost immediately. It's what transforms your Power BI reports from static, manually updated pictures into living, automated dashboards that always reflect your most current business data, freeing you up to focus on finding insights, not just pushing a refresh button.
Our goal with Graphed is to remove as many of these technical barriers as possible. While a gateway is necessary for older on-premises data worlds, the majority of today's marketing, sales, and commerce analytics data lives in cloud apps such as Google Analytics, Salesforce, Shopify, and Facebook Ads. Graphed helps connect all your favorite data sources with just a single-click integration in minutes, skipping the complicated setups. Then you can use simple natural language in English to instantly build live dashboards and charts, and to ask our AI assistant follow-up questions, just like chatting to a real full-time live onboard data analyst. If only analytics could get easier to do with just the push of a few buttons from our users, it would become the dream that most have longed to achieve - but it can turn true with what we hope to provide with Graphed.
Related Articles
How to Connect Facebook to Google Data Studio: The Complete Guide for 2026
Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.
Appsflyer vs Mixpanel: Complete 2026 Comparison Guide
The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.
DashThis vs AgencyAnalytics: The Ultimate Comparison Guide for Marketing Agencies
When it comes to choosing the right marketing reporting platform, agencies often find themselves torn between two industry leaders: DashThis and AgencyAnalytics. Both platforms promise to streamline reporting, save time, and impress clients with stunning visualizations. But which one truly delivers on these promises?