Sub topic 2
What a Workspace Is
This chapter assumes you can build a simple report in Power BI Desktop and sign in to the Power BI service with a work or school account. It also assumes you know a report is separate from the data behind it. Roles and licenses get their own chapters, so they appear here only briefly.
The workspace as a container
A workspace is a named area in the Power BI service that holds content and controls who can reach it. When you publish a .pbix file from Power BI Desktop, you pick a workspace as the destination. The service stores the report and its semantic model there.
A workspace can hold:
- Reports
- Semantic models (the data and model behind reports)
- Dashboards
- Other items, such as paginated reports and dataflows
Think of it as a shared project folder with its own membership list, settings, and refresh schedules. Publishing is an upload into this folder, not a file copy to a server path.
My workspace and shared workspaces
Every user has a personal area called My workspace. Only you can see its content by default. It suits experiments and drafts, but it is a poor target for anything a team depends on. Content there is tied to one person, and you cannot grant others a workspace role in it.
Shared workspaces are the ones you create for teams or projects. You add people and give each a role. They are the normal destination for reports other people will use.
| Aspect | My workspace | Shared workspace |
|---|---|---|
| Owner | One user | A group of members with roles |
| Who sees content | Only you, by default | People you add, or people you share items with |
| Typical use | Drafts, personal tests | Team and production reports |
| Roles | Not available | Admin, Member, Contributor, Viewer |
How a workspace relates to what you publish
The diagram shows the path from your computer to a workspace and what ends up inside it.
The workspace is also where later tasks happen. You set data source credentials, schedule refresh, and manage access on the items inside it. Choosing the right workspace at publish time saves you from moving content later.
Finding a workspace
In the Power BI service, the Workspaces menu lists the ones you belong to. You can only publish to a workspace where you hold a role that allows it. If a workspace is missing from the list in Power BI Desktop's publish dialog, you are probably not a member, or your role is Viewer.
You can also check from PowerShell. The first command installs the management module, the second signs you in, and the third looks up a workspace by name:
Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser
Connect-PowerBIServiceAccount
Get-PowerBIWorkspace -Name 'Sales Analytics'If the last command returns an object with an Id and a Name, you can see the workspace. If it returns nothing, either the name is wrong or you are not a member.
Common mistakes
- Publishing to My workspace by accident. The publish dialog often lists it first. Check the destination before you confirm.
- Assuming a workspace name is unique. Two workspaces can share a similar name. Confirm the correct one by its ID or by who belongs to it.
- Expecting everyone in your organization to see the content. A workspace is private to its members unless you share items separately.
- Treating the workspace as storage for the .pbix file. The service keeps the report and semantic model, not a copy you can rely on as your source file. Keep your own .pbix in version control or a shared drive.
Exercise
You publish a sales report from Power BI Desktop and a colleague says they cannot find it. You published it to My workspace. Why can't they see it, and what should you do?
Show answer
My workspace is private to you by default, and you cannot add others to it with workspace roles. Republish the report to a shared workspace where your colleague is a member, or add them to a shared workspace and publish there.
Exercise
Which PowerShell command confirms that you can see a workspace named 'Sales Analytics' before you publish?
Show answer
Get-PowerBIWorkspace -Name 'Sales Analytics', run after Connect-PowerBIServiceAccount. If it returns the workspace with its Id, you can see it. If it returns nothing, check the name and your membership.