Sub topic 6
What appears in the workspace after publishing
This chapter assumes you can build a simple report in Power BI Desktop, that you can sign in to the Power BI service with a work or school account, and that you know a report and the data behind it are different things. It covers what the service creates when you publish a .pbix file, how the pieces relate, and the mistakes people make when they look for the result.
One file in, several items out
A .pbix file holds a report (pages, visuals, filters) and a data model (tables, relationships, measures, and usually the imported data). When you publish it, the service splits the file into separate items inside the workspace you chose.
| Item in the workspace | Type shown in the list | What it contains |
|---|---|---|
| Report | Report | Pages, visuals, filters, and a link to its semantic model |
| Semantic model | Semantic model | Tables, relationships, measures, imported data, and refresh settings |
Microsoft renamed "dataset" to "semantic model" in 2023. Older articles, API parameter names (such as datasetDisplayName), and some menus still say dataset. They refer to the same item.
By default both items take the name of the .pbix file without the extension. Publishing Sales.pbix normally gives you a report called Sales and a semantic model called Sales.
Where the data goes
What gets uploaded depends on the storage mode of each table.
- Import mode: The data is copied into the semantic model in the service. The report reads the copy, not your source. The copy is only as fresh as the last refresh.
- DirectQuery: No data is copied. Each visual sends queries to the source when someone opens the report. The semantic model holds the structure and the connection details.
- Live connection: The report has no model of its own. It points to an existing semantic model, so publishing creates only a report.
- Composite models: These mix import and DirectQuery tables, so both behaviors apply in one semantic model.
The live connection case is a common surprise. If you build a report from a semantic model that already exists in the service and publish it, you will see a new report and no new semantic model. The report depends on the model that already exists, so its data changes when that model changes.
Finding the items
After publishing, Desktop shows a success dialog with a link such as "Open 'Sales.pbix' in Power BI". That link opens the report directly. To find the items yourself:
- Open the Power BI service and select Workspaces in the left navigation.
- Select the workspace you published to.
- Look at the content list. Each item has a name, a type, and an owner.
The list may also hold other items that you did not just publish. Workspaces are shared, so reports and models from your colleagues appear alongside yours. Use the search box or the type filter to narrow the list.
A published .pbix does not always create every item type you may see in a workspace. Dashboards, for example, are not created from a .pbix upload. A dashboard is a separate item that someone builds in the service by pinning visuals from reports. Publishing a report does not give you one.
Reading the item list
Hover over an item, or open its More options (the three dots), to see the actions. The actions differ by type.
For the report:
- Open shows it in reading view.
- Edit opens the report editor in the browser. Your role in the workspace controls whether this is available.
- Manage permissions shows who can access this item.
- Settings lets you rename it and manage some options.
For the semantic model:
- Refresh now and Schedule refresh control data updates. Later chapters cover scheduling.
- Settings is where you set data source credentials and gateway connections.
- Create report builds a new report on the same model from the browser.
- Explore this data or Lineage helps you see how items connect.
The lineage view is the quickest way to confirm what publishing produced. Open the workspace, switch from List to Lineage view, and you see boxes for data sources, the semantic model, and the report, with arrows between them. A report with no model in the same workspace shows an arrow to a model in another workspace.
What the report and model remember
Each item stores different things, and that affects what happens when you change something.
- The report keeps layout and visuals. If you edit a visual in the browser and then republish the .pbix, the Desktop version replaces the report, and your browser changes are lost.
- The semantic model keeps the data, the DAX measures, relationships, and refresh settings such as a schedule.
- Row-level security roles are defined in Desktop and travel with the model. Membership in those roles is assigned in the service, after publishing. Publishing does not add anyone to a role.
- Credentials are not part of the .pbix. The service has no stored credentials for your sources after the first publish, so imported data may not refresh until you set them. This is covered in the chapter on data source credentials.
Naming and the location of items
Names matter because the service uses them to decide whether a new upload is a new item or a replacement. Within a workspace, the combination of name and type identifies an item. The next chapter covers conflicts in depth. For now, keep in mind two points.
- Two different workspaces can each hold a report named
Sales. They do not interfere with each other. - Inside one workspace, publishing a second
Sales.pbixis treated as an update to the existingSalesitems, not as a second copy, when you publish from Desktop.
If you published to My workspace by accident, the items appear under your personal area, not in a shared workspace. Other people cannot see them unless you share them. To fix this, publish again and choose the right destination. The items in My workspace stay there until you delete them.
Confirming from a script
You can check the result without opening a browser. The Power BI PowerShell module lists reports and semantic models in a workspace.
Connect-PowerBIServiceAccount
$ws = Get-PowerBIWorkspace -Name 'Sales Analytics'
Get-PowerBIReport -WorkspaceId $ws.Id | Select-Object Name, Id, DatasetId
Get-PowerBIDataset -WorkspaceId $ws.Id | Select-Object Name, Id, IsRefreshableThe DatasetId column on each report shows which model it reads from. If the DatasetId of the Sales report matches the Id of the Sales model, the two items are linked as you expect. The cmdlet names still say "Dataset" because the module predates the rename.
Common errors and how to read them
| What you see | Likely cause | What to do |
|---|---|---|
| The report is missing from the workspace | You published to My workspace or a different workspace | Check the destination shown in the Desktop success dialog, then look in the right workspace |
| The report exists but shows no data or an error on each visual | The model has no valid credentials, or the first refresh failed | Open the model's settings, sign in to the data source, and refresh |
| Only a report appears, no model | The report uses a live connection to a model elsewhere | Open the lineage view to find the source model |
| The report opens but data is old | Import mode data has not been refreshed since publishing | Refresh now, then set up a schedule |
| You cannot see the workspace at all | You do not have a role in it | Ask a workspace Admin for access |
| Edit is greyed out | Your role is Viewer | Ask for Contributor or higher, or edit a copy |
Checks after every publish
A short routine catches most problems early.
- Open the workspace and confirm that both the report and the semantic model are present (or just the report, if you used a live connection).
- Open the report and click through each page. Look for visuals with an error icon.
- Open the semantic model's settings and check that the data source credentials section shows no warning.
- Run Refresh now on an import model and confirm that it finishes.
- Check the Last refresh time in the model's details.
One model, many reports
Nothing forces a one-to-one relationship between models and reports. One semantic model can feed many reports. A common pattern is to publish a single curated model and let analysts build their own reports on it with a live connection. In that pattern:
- The model owner controls the data, measures, and refresh.
- Report authors control only layout and visuals.
- A change to the model affects every report that uses it. Renaming a column breaks visuals in dependent reports that used the old name.
Before you republish a model that others depend on, open the lineage view and look at the reports downstream of it.
Exercise
You publish Sales.pbix to the workspace Sales Analytics. Another analyst then builds a report in Desktop by connecting live to your Sales semantic model and publishes it as Regional View. What items now exist in the workspace, and what happens to Regional View if you rename a column in your model and republish?
Show answer
The workspace holds the Sales report, the Sales semantic model, and the Regional View report. Publishing Regional View created only a report, because a live connection has no model of its own. If you rename a column and republish, any visual in Regional View that used the old column name breaks, because that report reads from your model. Check the lineage view before republishing.
Exercise
A colleague says the data in your published report is two weeks old, but the source database changed this morning. The model uses import mode. Which item holds the old data, and what should you do?
Show answer
The semantic model holds the old data, because import mode stores a copy of the data in the model at the time of the last refresh. Run Refresh now on the semantic model, then configure scheduled refresh so it updates automatically. Credentials for the data source must be set in the model's settings first, or the refresh will fail.