Sub topic 10
Checking that the report works in the service
This chapter assumes you have already published a .pbix file from Power BI Desktop to a workspace, and that you have at least the Contributor role in that workspace. It covers what to check after publishing and the errors you are most likely to meet.
Why verify after publishing
A successful "Publishing complete" message in Desktop only means the upload worked. It does not prove that the data loads, that the visuals render, or that other people can open the report. Most problems appear later, when the service tries to reach the data source on its own, without your Desktop session.
Run a short check every time you publish. It takes a few minutes and catches problems before your users do.
The verification flow
Step 1: Confirm the items exist
Open the workspace in the Power BI service and look at the content list. You should see two items with the name you published: a report and a semantic model (the data and model behind the report). If you see only one, check that you opened the correct workspace, because Desktop remembers the last destination you chose.
Check the "Type" column and the "Refreshed" column. A semantic model that has never refreshed shows the time of the upload, not a later time.
Step 2: Open the report
Select the report and look at each page. Check these points:
- Every visual shows data. A visual with a gray error icon has a problem you can inspect by selecting the icon.
- Slicers and filters return the values you expect.
- Page navigation, bookmarks, and drillthrough still work.
- Custom visuals appear. If a visual shows "Can't display this visual", the custom visual may be blocked by your organization's settings.
Compare a few numbers against Desktop. If a total differs, the cause is often a different data source, a different date, or a filter that was saved in Desktop.
Step 3: Test a manual refresh
The data in the service is the snapshot saved in the .pbix file until the semantic model refreshes. Trigger a refresh to prove that the service can reach the source on its own.
- In the workspace, find the semantic model.
- Select Refresh now (the circular arrow icon).
- Wait for the status to finish, then open Refresh history from the semantic model's menu.
The history lists each run with a status and, for failures, an error message. Read this message first, because it names the cause.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| "Credentials are not valid" or the data source shows a warning | Credentials were not set in the service | Open the semantic model settings, edit Data source credentials, and sign in |
| "The data gateway is offline" | An on-premises source needs a gateway that is not running | Start the gateway service or map the source to a working gateway |
| Visuals are blank, no error | Row-level security or a filter hides all rows | Check roles and use "View as" in the semantic model |
| Report opens but refresh fails with a timeout | The source is slow or the query is heavy | Reduce the data loaded or increase source performance |
| "Report not found" for a colleague | They lack access to the workspace or the report | Review workspace roles or share the report |
Step 4: Check from another user's view
Your own account often has more access than your audience. Ask a colleague with the Viewer role, or one who has been given access through sharing, to open the report. If they see an access error, the report or the underlying semantic model has not been shared with them. Sharing is covered in the next chapter.
Checking with a script
You can also confirm the items exist from PowerShell. This is useful after an automated publish.
Connect-PowerBIServiceAccount
$ws = Get-PowerBIWorkspace -Name 'Sales Analytics'
Get-PowerBIReport -WorkspaceId $ws.Id -Name 'Sales'
Get-PowerBIDataset -WorkspaceId $ws.Id -Name 'Sales'If both commands return an item, the publish created the report and the semantic model. They do not test refresh, so you still need the refresh history.
Exercise
You publish a report, open it in the service, and every visual shows data. Two days later, users report old numbers. Your manual refresh test on the day of publishing passed. What do you check first, and why?
Show answer
Check the semantic model's refresh history and its scheduled refresh settings. The manual refresh used your signed-in session, so it can pass even when no schedule is configured or when the stored credentials have expired. The visuals showed data on day one only because the .pbix file contains a saved snapshot.