0
0
Power BIbi_tool~10 mins

Query folding in Power Query in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows products with their IDs, names, categories, and prices.

CellValue
A1ProductID
B1ProductName
C1Category
D1Price
A2101
B2Chair
C2Furniture
D250
A3102
B3Desk
C3Furniture
D3150
A4103
B4Pen
C4Stationery
D45
A5104
B5Notebook
C5Stationery
D510
Formula Trace
Table.SelectRows(Source, each [Category] = "Furniture" and [Price] > 40)
Step 1: Source
Step 2: each [Category] = "Furniture"
Step 3: each [Price] > 40
Step 4: each [Category] = "Furniture" and [Price] > 40
Step 5: Table.SelectRows(Source, condition)
Cell Reference Map
     A          B           C           D
1 | ProductID | ProductName | Category  | Price
2 |    101   |   Chair    | Furniture |  50  
3 |    102   |   Desk     | Furniture |  150 
4 |    103   |   Pen      | Stationery|  5   
5 |    104   | Notebook   | Stationery|  10  

Formula references columns C (Category) and D (Price) for filtering.
The formula uses the Category column (C) and Price column (D) to filter rows.
Result
     A          B           C           D
1 | ProductID | ProductName | Category  | Price
2 |    101   |   Chair    | Furniture |  50  
3 |    102   |   Desk     | Furniture |  150 

Only rows with Category 'Furniture' and Price > 40 remain after filtering.
The filtered table shows only furniture products priced above 40.
Sheet Trace Quiz - 3 Questions
Test your understanding
Which rows does the filter condition keep?
ARows where Category is 'Furniture' and Price > 40
BRows where Category is 'Stationery' and Price > 40
CRows where Price < 40
DAll rows
Key Result
Table.SelectRows filters rows by applying a condition to each row.