In brief
A Power BI implementation succeeds when the company has one shared semantic model in a star schema, not dozens of files that each calculate margin their own way. An Import model refreshes on a schedule: up to 8 times a day on shared capacity and up to 48 times on Premium, PPU or Fabric capacity. Data from on-premises servers flows through a data gateway. Row-level security (RLS) only applies to users with the Viewer role, which you must account for when assigning workspace roles.
One model, many reports
A typical picture after a year of "self-service BI": dozens of PBIX files, each with its own connection to the ERP, its own calendar and its own "Net sales" measure. Two reports show two different figures, and the ERP takes dozens of heavy queries every night.
A better setup looks like this:
- one semantic model per area (sales, finance, logistics), maintained by the data team and published in a separate workspace;
- reports connected to the model, not to the ERP: the report author builds visuals but does not redefine sales;
- DAX measures documented in the model, with name, definition and owner, just as in the metric glossary.
The semantic model works best on a star schema: a fact table (invoice lines, stock movements) and dimensions (customer, product, date, sales rep). Microsoft recommends this layout in the Power BI documentation because it simplifies filtering and speeds up queries. If the data needs several sources combined and a history of balances, it is worth having a data layer underneath, as described in Data warehouse for a mid-sized company.
Import or DirectQuery
| Mode | How it works | When it fits | Notes |
|---|---|---|---|
| Import | data is copied into the model at refresh | most management reports | fastest reports, data current as of the last refresh |
| DirectQuery | every click sends a query to the source | data must be current and the source is fast | loads the source, slower visuals |
| Import with incremental refresh | only the latest period is refreshed | large fact tables | needs a date column and filtering at the source |
For ERP reports, Import is the default choice. DirectQuery straight against the ERP database during working hours is a recipe for complaints from ERP users.
Refresh: limits, the data gateway and the schedule
A few facts from the Microsoft documentation worth knowing before planning:
| Parameter | Shared capacity (Pro) | Premium, PPU, Fabric |
|---|---|---|
| Scheduled refreshes per day | up to 8 | up to 48 |
| Maximum refresh duration | 2 hours | 5 hours |
| Incremental refresh | yes | yes, also with a DirectQuery partition for current data |
Plus three rules teams usually learn after the first outage:
- On-premises sources need a data gateway (on-premises data gateway). A model can use only one gateway connection, so all local sources must be configured on it. The gateway is an ordinary server: it needs updates, monitoring and a second node if reports are critical.
- The schedule pauses itself. When nobody opens a report built on the model for two months, Power BI pauses scheduled refresh and emails the owner. After repeated failed refreshes, the schedule is also disabled.
- Time zone. Incremental refresh determines "today" in UTC unless you choose a different time zone in the refresh settings. Without that, a refresh shortly after midnight in Central Europe can miss the last hours of the day.
Schedule refresh after the nightly warehouse load or the ERP's end-of-day close, not "every hour just in case". Send failure notifications to a team mailbox, not to one person who may be on vacation.
Permissions: workspaces, apps and RLS
Power BI has two levels of permissions and both need design.
Workspace roles (Admin, Member, Contributor, Viewer) decide who can edit and publish. Model and report authors get edit roles in development workspaces. Report consumers get access through a Power BI app or the Viewer role.
Row-level security (RLS) decides which rows a user sees: a sales rep only their own customers, a branch manager only their branch. Roles and DAX filters are defined in Power BI Desktop, and people or groups are assigned in the service. The key trap: according to the Microsoft documentation, RLS only restricts data for users with Viewer permissions and does not apply to the Admin, Member or Contributor roles. A sales manager added to the workspace as a Member will see every branch, even though RLS assigns them to one.
Good practice is dynamic RLS: one role filtering by the user's sign-in name, plus a mapping table (who sees which branch) fed from the HR system or CRM. Before sharing, check roles with the test-as-role feature, and for users outside the company sign in as a real guest, because the test uses your own identity.
A rollout plan of a few weeks
- Inventory. List existing reports and files, their owners and sources. Usually half can be switched off.
- Metric glossary. Definitions of sales, margin, receivables and inventory with owners. Without it, the model will repeat today's arguments.
- Model and measures. Star schema, DAX measures, a calendar with local holidays and accounting periods.
- Environments. Development, test and production workspaces; a model change passes testing before it reaches the board.
- Refresh and gateway. A schedule that follows source loads, notifications to a team mailbox, a second gateway node for critical reports.
- Permissions. Security groups instead of individuals, dynamic RLS, a quarterly role review.
- Reconciliation. A daily comparison of model totals with the ERP; a difference above a threshold blocks publishing or raises an alert.
When Power BI figures do not match the ERP, the causes and fixes are covered in ERP reports don't match. Checks that stop bad data before it reaches a report are described in Data quality: how to measure and improve it.
B2Bnetwork engineers build Power BI models with reconciliation rules against the source as part of our Data and reporting service. An example from financial services, where management and regulatory reports use one data layer, is the case study on a data warehouse for FINREP reporting.
Questions and answers
How long does a Power BI implementation take in a mid-sized company?
A first model with a few reports for one area can be built in a few weeks if the data is accessible and metric definitions are agreed. Agreeing definitions and cleaning up existing files is what takes longest. Each further area goes faster because it reuses the same dimensions.
Can Power BI connect directly to the ERP database?
It can, but it is better through read-only views or a database copy, in Import mode, with refreshes outside working hours. DirectQuery against the production ERP database loads the system with every click. With several sources and a need for balance history, add a data layer between the ERP and Power BI.
Why does a manager see every branch's data despite RLS?
Most often because they hold the Admin, Member or Contributor role in the workspace. RLS only applies to users with Viewer permissions. Move report consumers to a Power BI app or the Viewer role, and keep edit roles for model authors.
Why did a report stop refreshing without any error?
Check whether the schedule was paused for inactivity (two months without anyone opening a report) or disabled after repeated failed refreshes. Other common causes are an expired source password on the data gateway and a gateway server that was switched off. Notifications should go to a team mailbox.
Sources