0
0
Power BIbi_tool~10 mins

Calculated columns vs measures in Power BI - Formula Comparison Trace

Choose your learning style9 modes available
Sample Data

This table shows products with their price and quantity sold. Column D is a calculated column multiplying Price and Quantity for each row. Column E is a measure calculating total sales across all products.

CellValue
A1Product
B1Price
C1Quantity
D1Total Sales (Calculated Column)
E1Total Sales (Measure)
A2Apple
B22
C210
A3Banana
B31
C320
A4Cherry
B43
C45
Formula Trace
Total Sales (Calculated Column) = Price * Quantity Total Sales (Measure) = SUM('Table'[Total Sales (Calculated Column)])
Step 1: Price (B2) * Quantity (C2)
Step 2: Price (B3) * Quantity (C3)
Step 3: Price (B4) * Quantity (C4)
Step 4: SUM of all calculated column values (20 + 20 + 15)
Cell Reference Map
    A       B       C       D       E
1 |Product| Price |Quantity|Total Sales|Total Sales
  |       |       |        |(Calc Col)| (Measure)
2 | Apple |   2   |   10   |    20    |   55
3 |Banana |   1   |   20   |    20    |   55
4 |Cherry |   3   |    5   |    15    |   55
Columns B and C are used to calculate the Total Sales in column D for each row. The measure in column E sums all these calculated values.
Result
    A       B       C       D       E
1 |Product| Price |Quantity|Total Sales|Total Sales
  |       |       |        |(Calc Col)| (Measure)
2 | Apple |   2   |   10   |    20    |   55
3 |Banana |   1   |   20   |    20    |   55
4 |Cherry |   3   |    5   |    15    |   55
The calculated column (D) shows total sales per product row. The measure (E) shows the total sales sum across all products, repeated for display.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the calculated column 'Total Sales (Calculated Column)' show?
ATotal sales for each product row
BSum of all sales across products
CAverage price of products
DQuantity sold for all products
Key Result
Calculated columns compute row-level values; measures compute aggregated values over rows.