Skip to main content
Albero Academy

Row-Level Security

Show each user only the data they are allowed to see.

Applied Power BI8 min

Row-Level Security (RLS) restricts which rows a user sees within the same report — a regional manager sees only their region, without you building a separate report per region.

How it works

Define roles with a DAX filter, then assign users to roles in the Service:

a role filter (DAX)
Role "Regional Manager", filter on the Sales table:
[Region] = USERPRINCIPALNAME() -- match rows to the logged-in user
// Or a dynamic pattern via a mapping table:
[Region] IN (lookup of regions for the current user's email)

Key takeaways

  1. 01RLS restricts which rows each user sees in the same report.
  2. 02Define roles with a DAX filter (Manage Roles), then assign users in the Service.
  3. 03USERPRINCIPALNAME() returns the logged-in user for dynamic, per-user filtering.
  4. 04Test with "View as Role" before publishing.

Finished this chapter?

Mark it complete to track your progress through Power BI.