0
0
Power BIbi_tool~10 mins

Filtering rows in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows products with their categories and sales amounts.

CellValue
A1Product
B1Category
C1Sales
A2Apple
B2Fruit
C2100
A3Carrot
B3Vegetable
C350
A4Banana
B4Fruit
C480
A5Broccoli
B5Vegetable
C560
Formula Trace
FILTER(Table1, Table1[Category] = "Fruit")
Step 1: Check each row's Category value
Step 2: Compare each Category to "Fruit"
Step 3: Return rows where condition is TRUE
Cell Reference Map
    A         B          C
1 | Product | Category | Sales
2 | Apple   | Fruit    | 100  
3 | Carrot  | Vegetable| 50   
4 | Banana  | Fruit    | 80   
5 | Broccoli| Vegetable| 60   

Filter uses column B (Category) to check for "Fruit"
The formula checks the Category column (B2:B5) to filter rows where the value is 'Fruit'.
Result
    A       B       C
1 | Product | Category | Sales
2 | Apple   | Fruit    | 100  
4 | Banana  | Fruit    | 80   
The filtered table shows only rows where Category is 'Fruit', keeping Apple and Banana rows.
Sheet Trace Quiz - 3 Questions
Test your understanding
Which rows are kept after filtering with FILTER(Table1, Table1[Category] = "Fruit")?
ARows with Category 'Fruit' only
BRows with Category 'Vegetable' only
CAll rows
DNo rows
Key Result
FILTER(table, condition) returns only rows where condition is TRUE