Domain 4 β€” Module 3 of 5 60%
24 of 26 overall
Domain 4: Manage and Secure Power BI Free ⏱ ~10 min read

Gateways & Scheduled Refresh

Understand when a data gateway is required, how to configure scheduled refresh, and keep your Power BI datasets up to date automatically.

Keeping data fresh

Simple explanation

Imagine a delivery service. Your Power BI report lives in the cloud, but your data might live on a server in your office building. A gateway is the delivery truck that carries data from your on-premises server to the cloud.

Without a gateway, cloud-based Power BI can’t reach on-premises data. Scheduled refresh tells Power BI when to send the truck β€” daily, hourly, or at specific times.

When is a gateway required?

Gateway = bridge from on-premises to cloud. Not needed for cloud data sources.
ScenarioGateway Needed?Why
On-premises SQL ServerYes βœ“The server is behind your firewall β€” cloud can't reach it directly
On-premises file share (Excel, CSV)Yes βœ“Files on a local network aren't accessible from the cloud
Azure SQL DatabaseNo βœ—It's already in the cloud β€” Power BI can connect directly
SharePoint OnlineNo βœ—Cloud service β€” directly accessible
Dataverse / Dynamics 365No βœ—Cloud services β€” no gateway needed
On-premises Oracle or MySQLYes βœ“On-premises databases need the gateway bridge

Simple rule: If the data source is behind your organisation’s firewall (on-premises), you need a gateway. If it’s a cloud service, you don’t.

Gateway types

TypeWhat It’s ForManaged By
On-premises data gateway (standard)Shared gateway for multiple users and datasetsIT admin β€” installed on a dedicated server
On-premises data gateway (personal)Single user, single machine β€” development onlyIndividual user

Kenji at Apex Manufacturing (🏭) needs data from the factory’s on-premises SQL Server. The IT team installs the standard gateway on a dedicated server. Kenji configures his semantic model to use this gateway for refresh.

Exam tip: gateway installation
  • The gateway must be installed on a machine that is always on and has network access to the data source.
  • The gateway should be installed on a dedicated, always-on server with network access to the data source β€” avoid co-locating with the data source when possible for performance reasons.
  • The personal gateway is for development/testing only β€” never for shared production use.
  • Gateway supports DirectQuery AND Import mode for on-premises sources.

Scheduled refresh

Scheduled refresh automatically refreshes Import-mode semantic models at configured times.

How to configure:

  1. In the Power BI service β†’ go to the semantic model settings
  2. Gateway and cloud connections β†’ select the gateway (if on-premises)
  3. Data source credentials β†’ enter/update credentials
  4. Scheduled refresh β†’ set frequency and times
SettingOptions
FrequencyDaily or Weekly
Time slotsUp to 8 per day (shared capacity), up to 48 per day (Premium, PPU, or Fabric capacity)
Time zoneSet to match your business hours
Send failure notificationsEmail the dataset owner + additional contacts

Dr. Ethan at Bayview Medical (πŸ₯) schedules refresh for 6:00 AM daily β€” so by the time staff arrive, the patient dashboard shows yesterday’s complete data.

Riley at Coastal Fresh (πŸ›’) needs more frequent updates β€” she schedules refresh every 3 hours using 8 daily refresh slots (Pro maximum).

DirectQuery and refresh

DirectQuery models don’t need scheduled refresh for data β€” they query the source live. However, some metadata (like security role changes) may still benefit from a refresh cycle. A gateway is still required if the source is on-premises.

Composite models (mix of Import and DirectQuery) need scheduled refresh for the Import tables only.

DirectLake models (Fabric) don’t need refresh either β€” they read current files from OneLake directly.

Knowledge check

Question

When is a gateway required?

Click or press Enter to reveal answer

Answer

When the data source is on-premises (behind your firewall). Cloud sources like Azure SQL, SharePoint Online, and Dataverse don't need a gateway.

Click to flip back

Question

How many scheduled refresh slots does a Pro licence get?

Click or press Enter to reveal answer

Answer

Up to 8 per day on shared capacity. Premium, PPU, or Fabric capacity allows up to 48 per day (every 30 minutes).

Click to flip back

Question

Do DirectQuery models need scheduled refresh?

Click or press Enter to reveal answer

Answer

Not for data β€” DirectQuery queries the source live. However, some metadata (like RLS role definitions) may still use scheduled refresh. But you don't need to configure refresh for data freshness.

Click to flip back

Knowledge Check

Kenji's Power BI report uses Import mode connected to an on-premises SQL Server. The report data in the Power BI service is stale. What TWO things does he need?

Knowledge Check

Dr. Ethan's hospital has data in both Azure SQL Database (cloud) and an on-premises Oracle database. Which data source requires a gateway?

Next up: Row-Level Security and Access Control β€” control who sees what data.