TECHNOLOGIESTieInn Technologies

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
5 questions

    Publishing, sharing, and row-level security

  1. Question 1easy

    Your report reads an Excel file on the office server. Scheduled refresh fails in the Service. What's missing?

  2. Publishing, sharing, and row-level security

  3. Question 2medium

    What does row-level security do?

  4. Publishing, sharing, and row-level security

  5. Question 3medium

    In an RLS role filter, what does USERPRINCIPALNAME() return?

  6. Publishing, sharing, and row-level security

  7. Question 4hard

    You set up RLS, but a colleague still sees every city. They're a Member of the workspace. Why?

  8. Publishing, sharing, and row-level security

  9. Question 5easy

    Where should a report for your team be published?

8 more questions on this topic, with hints, and tests

Sign up free for 21 days of every question and test.