Consider a Power BI model with a table Sales and a table Users. The Users table has a column Role with values 'Manager' and 'SalesRep'. You apply Row-Level Security (RLS) with two roles: Manager role filters Region = "North", and SalesRep role filters SalesPerson = USERNAME(). If a user belongs to both roles, what will be the effective filter on the Sales table?
Think about how Power BI combines filters when a user is in multiple roles.
In Power BI, when a user belongs to multiple roles, the filters from each role combine with a logical OR. This means the user sees data that matches any of the role filters.
In Power BI, how does the system determine which roles apply to a user when multiple roles are defined?
Think about how Power BI handles multiple roles for a single user.
Power BI allows users to belong to multiple roles at once. The filters from all roles are combined with OR to determine the data visible to the user.
A report uses two RLS roles: RegionRole filters Region = "East", and DeptRole filters Department = "Sales". A user belongs to both roles but sees no data. What is the most likely cause?
Consider how the filters combine and the data in the model.
Power BI combines RLS role filters with OR when a user belongs to multiple roles. Therefore, the user should see rows where Region = 'East' OR Department = 'Sales'. If no data is visible, the most likely cause is that the data model has no rows matching either condition.
You want to create a Power BI dashboard that shows sales data filtered by RLS roles: Manager sees all regions, SalesRep sees only their own sales. Which visualization design best helps users understand their filtered data?
Think about how to communicate role-based filtering clearly to users.
Option A uses a dynamic title to show the user’s role and disables slicers for SalesRep to prevent confusion. This helps users understand what data they see and why.
Your company has a hierarchy: Country > Region > Store. You have three RLS roles: CountryManager filters by Country, RegionManager filters by Region, and StoreManager filters by Store. A user belongs to both RegionManager and StoreManager roles. How should you implement RLS so the user sees all data for their region plus their specific store data, without losing any data?
Think about how multiple roles combine filters and how to show union of data.
Power BI combines filters from multiple roles with OR, so creating separate roles for each level and assigning the user to both roles allows the user to see all data for their region plus their store data.