Sub topic 4
Standard mode versus personal mode
This chapter assumes you can publish a dataset from Power BI Desktop and know why imported data needs scheduled refresh. It compares the two gateway modes so you can choose one before installing.
Two modes, two purposes
The on-premises data gateway installs in one of two modes. Both let the Power BI service reach data that sits behind your firewall. They differ in who can use the gateway and what it can connect to.
- Standard mode is a shared gateway. An administrator installs it, adds data sources to it, and grants other people access. Many users, datasets, and reports can use it.
- Personal mode is a single-user gateway. It runs as an app under one person's Windows sign-in. Only that person can use it, and only for scheduled refresh of imported data.
What each mode supports
| Capability | Standard mode | Personal mode |
|---|---|---|
| Scheduled refresh of imported data | Yes | Yes |
| DirectQuery and live connections | Yes | No |
| Users who can share it | Many, through access lists | One |
| Data sources managed in the service | Yes, as gateway data sources | No, credentials are set per dataset |
| Clustering for high availability | Yes | No |
| Runs as | A Windows service | An app tied to one user's sign-in |
Standard mode is the only choice for DirectQuery or live connections, because those send a query to the source every time someone opens or interacts with a report. Personal mode cannot do that.
How the gateway runs
A standard gateway runs as a Windows service. It keeps running when nobody is signed in, and it can restart automatically after a reboot.
A personal gateway runs under the installing user's account. If that user signs out, or the machine is off or asleep, the gateway is unavailable and scheduled refreshes fail.
Choosing between them
Use standard mode when any of these apply:
- The dataset uses DirectQuery or a live connection.
- Several people or teams depend on the same gateway.
- Refreshes must keep running when no one is signed in.
- You need a cluster so a second machine takes over if one fails.
Personal mode suits a single analyst who refreshes imported data from a local source. It is a quick way to start, and it avoids needing an administrator.
Common mistakes
- Using personal mode for a team report. When the owner's laptop is closed, refresh stops for everyone.
- Expecting a personal gateway to appear in gateway settings. It has no data sources to manage there. You set credentials on each dataset instead.
- Installing both modes and getting confused. The two can exist on one machine, but a dataset uses one or the other. Check which gateway a dataset is bound to in its settings.
Practice
Exercise
A team's report uses DirectQuery against an on-premises SQL Server, and several analysts publish datasets that use the same source. Which gateway mode do they need, and give two reasons.
Show answer
Standard mode. Personal mode does not support DirectQuery, and it serves only one user. Standard mode also lets the team share one gateway data source and run as a Windows service that does not depend on anyone being signed in.
Exercise
A personal-mode gateway refreshes a dataset every morning at 07:00, but refreshes fail on days when the owner's laptop is asleep. Why, and what is the fix?
Show answer
Personal mode runs under the owner's sign-in and is unavailable when the machine is off, asleep, or signed out. Install a standard-mode gateway on an always-on server, add the data source there, and map the dataset to it.