In Power BI Service, you have created a role with a DAX filter to restrict data by region. You want to assign users to this role so they only see data for their region.
Which method correctly assigns users to the RLS role in Power BI Service?
Think about where user-role assignments are managed after publishing the dataset.
In Power BI Service, RLS roles are assigned by going to the dataset's security settings and adding users or groups to the roles defined in Power BI Desktop. This controls data access for those users.
Given a table 'Sales' with columns 'Region' and 'SalesAmount', you define an RLS role with this DAX filter:
Sales[Region] = USERPRINCIPALNAME()
If a user with email 'north@company.com' logs in, what will be the result of this DAX query?
EVALUATE FILTER(Sales, Sales[Region] = USERPRINCIPALNAME())
Consider the data type and values in the 'Region' column compared to USERPRINCIPALNAME() output.
USERPRINCIPALNAME() returns the user's email. If 'Region' contains region names like 'North', comparing it to an email will never match, so no rows are returned.
You published a Power BI report with RLS roles defined and assigned users in Power BI Service. However, users report they can see all data, ignoring RLS filters.
Which of the following is the most likely cause?
Think about permissions that override RLS in Power BI Service.
Users with workspace admin or member roles with Build permission can bypass RLS filters and see all data. Assigning users only as viewers enforces RLS.
You have a report page showing total sales by region. RLS is applied to restrict users to their own region.
Which visualization best helps users understand their restricted data view?
Consider clarity and avoiding confusion about data visibility.
Showing only the user's region in a bar chart clearly communicates the data they can access without confusion from hidden or blank data for other regions.
Your company has multiple departments: Sales, Marketing, and Finance. You want to implement RLS so that users see data only for their department. User department info is stored in an Azure AD group membership.
Which approach correctly implements dynamic RLS in Power BI Service?
Think about how to make RLS dynamic and scalable for many users and departments.
Using a mapping table with USERPRINCIPALNAME() in a single RLS role allows dynamic filtering based on user identity, which is scalable and maintainable.