0
0
Power BIbi_tool~10 mins

Reducing model size in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Sample product data with IDs, names, categories, and prices. This data is used to demonstrate reducing model size by removing unnecessary columns and filtering.

CellValue
A1ProductID
B1ProductName
C1Category
D1Price
A2101
B2Chair
C2Furniture
D250
A3102
B3Table
C3Furniture
D3150
A4103
B4Pen
C4Stationery
D42
A5104
B5Notebook
C5Stationery
D55
Formula Trace
SUMX(FILTER(Products, Products[Category] = "Furniture"), Products[Price])
Step 1: FILTER(Products, Products[Category] = "Furniture")
Step 2: SUMX(filtered_table, filtered_table[Price])
Step 3: 200
Cell Reference Map
   A       B           C           D
1 ProductID ProductName Category    Price
2 101       Chair       Furniture   50
3 102       Table       Furniture   150
4 103       Pen         Stationery  2
5 104       Notebook    Stationery  5

Arrows point from Category and Price columns to the FILTER and SUMX functions.
The formula uses the Category column to filter rows and the Price column to sum values.
Result
   E
1 TotalFurniturePrice
2 200
The result shows the total price of products in the Furniture category, which is 200.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the FILTER function do in this formula?
ARemoves the Price column
BKeeps only rows where Category is Furniture
CAdds all prices together
DChanges product names
Key Result
FILTER narrows rows by condition; SUMX sums values over filtered rows.