Dashboard Mode - Static RLS rules
Business Question
How can we restrict sales data so that each regional manager only sees data for their own region?
How can we restrict sales data so that each regional manager only sees data for their own region?
| OrderID | Region | SalesPerson | SalesAmount |
|---|---|---|---|
| 1001 | North | Alice | 500 |
| 1002 | South | Bob | 700 |
| 1003 | East | Charlie | 300 |
| 1004 | West | Diana | 400 |
| 1005 | North | Eva | 600 |
| 1006 | South | Frank | 800 |
Total Sales = SUM(Sales[SalesAmount])[Region] = "North"+----------------------+----------------------+ | Total Sales | | | (KPI Card) | | +----------------------+ Sales Details + | | (Table) | | | | +----------------------+----------------------+
The Static RLS rule applies automatically based on the logged-in user's assigned region. It filters the Sales table so that both the Total Sales KPI and the Sales Details table only show data for that region. No manual filter is needed by the user.
If you add a filter to show only Region = South, which components update?
Department = "Sales", what data will a user assigned this role see?Department = "Sales" restricts data to only Sales department rows.Region = "East" but users assigned to this role still see all data. What is the most likely cause?Pass the test and this pattern moves unknown