Publishing, sharing, and row-level security
Power BI · 13 questions
Short notes
Key idea
Publishing moves a report from Desktop to the Power BI Service, where people view it in a browser, data refreshes on a schedule, and row-level security (RLS) shows each person only their own rows.
Syntax
- Publish: Home → Publish → choose a workspace.
- Share: a workspace for the team, an app for wider audiences, or share a single report.
- Refresh: dataset settings → scheduled refresh; on-premises data needs a gateway.
- RLS: Modeling → Manage roles → a DAX rule like
[Region] = "South", or dynamic[Email] = USERPRINCIPALNAME(). Assign people to roles in the Service. - View as in Desktop to test a role.
Example
A manager table maps emails to regions. Role rule on it: [Email] = USERPRINCIPALNAME(). With a relationship from the manager table to sales, each manager sees only their region's numbers in the same report.
Traps
- RLS doesn't apply to workspace admins and members; test as a viewer.
- Sharing and viewing need licences (Pro or Premium) in most setups.
- A refresh that worked on your laptop fails in the Service if the source needs a gateway or credentials.
- Publish to Web makes a report public to anyone with the link; never use it for company data.
Want the full lesson with step-by-step examples, a project and a certificate? Power BI course, ₹120 →
Questions
5 free questions- Question 1easy
Your report reads an Excel file on the office server. Scheduled refresh fails in the Service. What's missing?
- Question 2medium
What does row-level security do?
- Question 3medium
In an RLS role filter, what does
USERPRINCIPALNAME()return? - Question 4hard
You set up RLS, but a colleague still sees every city. They're a Member of the workspace. Why?
- Question 5easy
Where should a report for your team be published?
Publishing, sharing, and row-level security
Publishing, sharing, and row-level security
Publishing, sharing, and row-level security
Publishing, sharing, and row-level security
Publishing, sharing, and row-level security
8 more questions on this topic, with hints, and tests
Sign up free for 21 days of every question and test.