0
0
Power BIbi_tool~10 mins

FILTER function in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows products, their categories, and sales amounts.

CellValue
A1Product
B1Category
C1Sales
A2Apple
B2Fruit
C2100
A3Banana
B3Fruit
C3150
A4Carrot
B4Vegetable
C480
A5Broccoli
B5Vegetable
C5120
Formula Trace
FILTER(Table1, Table1[Category] = "Fruit")
Step 1: Table1[Category]
Step 2: Table1[Category] = "Fruit"
Step 3: FILTER(Table1, [TRUE, TRUE, FALSE, FALSE])
Cell Reference Map
    A        B          C
1 Product  Category   Sales
2 Apple    Fruit      100
3 Banana   Fruit      150
4 Carrot   Vegetable   80
5 Broccoli Vegetable  120

FILTER uses column B (Category) to check values.
The FILTER function checks the Category column (B2:B5) to find rows with 'Fruit'.
Result
    A        B        C
2 Apple    Fruit    100
3 Banana   Fruit    150
The FILTER function returns only the rows where Category is 'Fruit', showing Apple and Banana with their sales.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the FILTER function check in this example?
AIt sums all sales values.
BIt checks if Category equals 'Fruit'.
CIt filters products with sales over 100.
DIt changes the Category names.
Key Result
FILTER(table, condition) returns rows from the table where the condition is TRUE.