skip to content

Power BI Service

Publishing into workspaces, refreshing through a gateway, packaging reports as apps, and the embedding options. Interviewers ask about the on-premises gateway and refresh limits, because those constraints shape any real deployment.

on this pageshow

questions

6

When you publish a Power BI Desktop file to a workspace, what items appear in the Service?

level: juniorimportance: must knowfreq 70%

answer

  1. one file, more than one workspace item
  2. the visuals and the data are stored apart
  3. refresh settings hang off only one of them
  4. live connection publishes a thinner thing

basics

~10 s

Publishing a .pbix creates two workspace items: the report (pages and visuals) and the semantic model (queries, relationships, DAX and imported data). A file that live-connects to an existing model publishes the report only.

solid answer

~50 s

A `.pbix` bundles two separable things, and the Power BI Service unpacks them into two workspace items. The **semantic model** (called a *dataset* before the Fabric-era rename) holds the Power Query steps, tables, relationships, DAX measures, row-level security roles and — for an import model — the compressed data. The **report** holds only pages, visuals and formatting; it issues queries against the model. That is why refresh schedules, credentials, gateway bindings and RLS all live on the model and never on the report. If the Desktop file was built with a live connection to an existing semantic model or to Analysis Services, it carries no model of its own, so publishing creates just the report, bound to the model already in the Service. Dashboards are a third, Service-only artifact built by pinning tiles — you cannot publish one from Desktop.

code

text · 10 lines
text
-- publish a full .pbix (own model)
Workspace "Sales Analytics"
  |- Semantic model: Sales Analytics   <- M, relationships, DAX, RLS, refresh
  |- Report:         Sales Analytics   <- visuals only

-- publish a .pbix that live-connects to the model above
Workspace "Sales Analytics"
  |- Semantic model: Sales Analytics
  |- Report:         Sales Analytics
  |- Report:         Regional Deep Dive  <- report only, no second model

go deeper

for a junior

Be ready to name the two items publishing creates — semantic model and report — and to say that the model holds the data and the report holds the visuals.

for a middle

Explain which settings hang off the model (credentials, gateway, refresh, RLS) and what changes when the file live-connects to an existing model instead of carrying its own.

for a senior

Show you steer teams away from one-model-per-report sprawl: a certified shared model, Build permission for analysts, thin live-connected reports, one refresh path.

for a principal

Own the question of who is allowed to publish a model at all, how models are endorsed and discovered, and what the cost of duplicate models is in capacity and in metric trust.

## Two objects travel in one file A Power BI Desktop file (`.pbix`) looks like a single document, but it contains two things the Power BI Service stores as separate workspace items. The first is the **semantic model** — the Power Query (M) queries, the tables and their relationships, calculated columns, DAX measures, row-level security role definitions, and, for an *import* model, the compressed columnar copy of the data itself. The second is the **report** — pages, visuals, slicers, bookmarks, themes and formatting. Publishing unpacks the file and creates both, wiring the report to the model. Microsoft renamed *dataset* to *semantic model* during the Fabric rollout, so older documentation, blog posts and interviewers will use both words for the same object. Treat them as synonyms and say so out loud if the interviewer uses the older term. ## What each item owns The division of responsibility is clean and worth memorising, because almost every Service question reduces to it: - **The semantic model owns data.** Source connections, stored credentials, the on-premises data gateway binding, the scheduled refresh, incremental refresh policy, RLS roles, and every measure in the model. - **The report owns pixels.** Visual definitions and layout, report-level filters, and any report-level measures added on top of a live connection. It stores no rows and no credentials. So you configure refresh on the model, assign RLS role membership on the model, and grant *Build* permission on the model when someone needs to create their own report from it. Fixing a wrong measure fixes it for every report over that model at once — which is the whole argument for a shared model. ## The live-connection case If the Desktop file was created with *Get data → Power BI semantic model*, or a live connection to Analysis Services, it has no model of its own. Publishing it creates exactly one item: a report bound to the model that already exists in the Service. This is the shape you want for governed content — one model, many thin reports, one refresh, one definition of each measure. The common anti-pattern is the opposite: five analysts each publish a full `.pbix` against the same warehouse tables. You now have five semantic models, five refresh schedules competing for the same source and the same capacity, five copies of "Net Revenue" that drift apart, and five places to fix an RLS bug. Recognising that outcome is what the question is really testing. ## Republishing Republishing a file whose report and model names match existing items overwrites them in place rather than creating duplicates; the Service prompts you before replacing. Configured credentials and the refresh schedule generally survive as long as the data sources still match, which is why "publish again" is the ordinary update path for a Desktop-authored model. Changing the source connection string, however, typically forces you to re-enter credentials on the model. ## Dashboards are a third thing A **dashboard** exists only in the Service. It is a single canvas of *tiles* pinned from one or more reports (and from Q&A, Excel and other sources). You cannot author one in Desktop and you cannot publish one. Because tiles are cached snapshots that update after the underlying model refreshes, a dashboard tile and the report page it was pinned from can legitimately show different numbers for a short window — a distinction that turns up constantly in "why is this number stale" questions. ## Apps and workspaces around all this Everything above lands in a **workspace**, a container with roles (Admin, Member, Contributor, Viewer). Workspaces are where authoring happens. For distribution you normally publish an **app** from the workspace, which packages selected items into a read-only experience for consumers. So the full chain is: Desktop file → workspace items (model + report) → optional dashboard → app for consumers. ## What a good answer sounds like "Publishing splits the file: the semantic model gets the queries, relationships, measures, RLS and imported data; the report gets the visuals. Refresh, credentials, gateway and RLS are model settings. If the file live-connects to an existing model, only the report publishes — and that's the pattern I'd push for, so one governed model serves many reports instead of every analyst shipping their own copy."

  • Where do you set the refresh schedule and the RLS role membership — on the report or on the model?
    Both live on the semantic model. Refresh, data source credentials, the gateway binding and incremental refresh policy are model settings; RLS roles are defined in Desktop but members are assigned to roles on the model in the Service. The report has no data settings at all, which is why one model can serve many reports under one schedule and one security definition.
  • What is the difference between a Power BI report and a Power BI dashboard?
    A report is multi-page, authored in Desktop or the Service, and queries one semantic model interactively. A dashboard exists only in the Service: a single canvas of tiles pinned from one or more reports and other sources, so it can span models. Tiles are cached images refreshed after the model refreshes, which is why a tile can briefly lag the report it came from.
  • What breaks when five analysts each publish their own copy of the same model?
    You get five refresh schedules hitting the same source, five copies of each measure that drift apart, five sets of RLS roles to keep in sync, and no single answer to "what is revenue". The fix is one certified semantic model plus thin live-connected reports, with Build permission granted to the analysts.

saying these in an interview costs you the question

  • Says publishing uploads one indivisible 'dashboard' item
  • Thinks refresh is configured on the report
  • Believes dashboards can be authored in Power BI Desktop
  • Assumes every published report always brings its own model
  • Uses 'dataset' and 'report' interchangeably

context

open as a page

When does a Power BI scheduled refresh require an on-premises data gateway?

level: middleimportance: must knowfreq 72%

basics

~20 s

A gateway is needed whenever the Power BI Service cannot reach the source directly — anything on-premises or inside a private network. Cloud sources reachable over the public internet refresh without one. DirectQuery and live connections to on-prem sources need the standard gateway.

open as a page

In Power BI, when should you distribute content as an app rather than sharing reports directly?

level: middleimportance: should knowfreq 58%

basics

~20 s

Use a Power BI app once an audience is larger than a handful or the content is finished: it packages chosen workspace items into a stable read-only experience with its own audiences. Direct share links suit ad-hoc, one-off access and sprawl badly at scale.

open as a page

A Power BI refresh reports success but the dashboard still shows yesterday's numbers — how do you diagnose it?

level: seniorimportance: should knowfreq 50%

basics

~20 s

Check what actually refreshed and when the source was ready. Common causes: you refreshed a different semantic model, incremental refresh touched only recent partitions, the upstream load finished after the schedule fired, or a cached dashboard tile lags the report.

open as a page

How would you structure Power BI workspaces and promotion for a shared semantic model used by many teams?

level: principalimportance: should knowfreq 38%

basics

~20 s

Separate the governed semantic model into its own workspace with tight write access and Build permission for analysts, keep team reports in their own workspaces live-connected to it, promote changes through dev/test/prod stages, and endorse the model so people find the right one.

open as a page

How do Publish to Web, secure embedding and Power BI Embedded differ in who can see the data?

level: seniorimportance: nice to knowfreq 34%

basics

~20 s

Publish to Web makes a report anonymously public to anyone with the link. Secure embedding still authenticates each viewer with their own account and licence. Power BI Embedded lets an application authenticate on behalf of users who have no Power BI identity.

open as a page