Complete the code to define a role that filters data by region.
FILTER('Sales', 'Sales'[Region] = [1])
The filter expression uses the region 'South' to restrict data visible to that role.
Complete the DAX expression to create a dynamic filter for the current user.
FILTER('Employees', 'Employees'[UserName] = USERPRINCIPALNAME() && 'Employees'[Department] = [1])
This filter restricts data to employees in the Finance department matching the current user.
Fix the error in the RLS filter expression to correctly restrict data by country.
FILTER('Orders', 'Orders'[Country] = [1])
The country name must be a text string enclosed in single quotes for the filter to work.
Fill both blanks to create a role that filters sales by region and year.
FILTER('Sales', 'Sales'[Region] = [1] && 'Sales'[Year] = [2])
The filter restricts data to the East region and the year 2022.
Fill all three blanks to create a DAX filter that restricts data by user, department, and active status.
FILTER('Employees', 'Employees'[UserName] = USERPRINCIPALNAME() && 'Employees'[Department] = [1] && 'Employees'[IsActive] = [2] && 'Employees'[Role] = [3])
This filter allows only active Sales department managers matching the current user.