0
0
Power BIbi_tool~10 mins

Static RLS rules in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows users and their assigned regions (A1:B5) and sales data by region (D1:E5). Static RLS rules will filter sales data by region based on user.

CellValue
A1User
B1Region
A2Alice
B2North
A3Bob
B3South
A4Carol
B4East
A5Dave
B5West
D1Sales
E1Region
D21000
E2North
D31500
E3South
D41200
E4East
D51300
E5West
Formula Trace
FILTER('Sales', 'Sales'[Region] = "North")
Step 1: 'Sales'[Region]
Step 2: 'Sales'[Region] = "North"
Step 3: FILTER('Sales', [TRUE, FALSE, FALSE, FALSE])
Cell Reference Map
  A       B       D       E  
1 User    Region  Sales   Region
2 Alice   North   1000    North  <-- Filter matches this row
3 Bob     South   1500    South
4 Carol   East    1200    East
5 Dave    West    1300    West
The filter uses the 'Sales'[Region] column (cells E2:E5) to compare with the static value 'North'.
Result
  D       E  
1 Sales   Region
2 1000    North
After applying the static RLS filter for region 'North', only the sales data for 'North' region remains visible.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the FILTER function do in this static RLS rule?
AKeeps only rows where the region is 'North'.
BKeeps all rows regardless of region.
CRemoves rows where region is 'North'.
DChanges the region name to 'North'.
Key Result
FILTER(table, table[column] = "fixed_value") filters rows where column equals a static value.