Menu
CoddyTech

Columns vs Measures

Part of the Power BI Basics section of Coddy's Power BI journey. Lesson 21 of 28.

A calculated column is a new column whose formula is worked out once per row and stored.

Line Total = Sales[Quantity] * Sales[UnitPrice]

In a column, Sales[Quantity] is this row's quantity: the row context.

A measure has no current row; it aggregates the rows its filters allow.

challenge icon

Challenge

Easy

Add a calculated column Line Total to Sales: each row's quantity times its unit price.

Try it yourself

Line Total =
DateQuantityLine Total
2024-01-123
2024-01-202
2024-01-244
Fields
  • Sales
    • OrderID
    • Date
    • StoreID
    • ProductID
    • CustomerID
    • Quantity
    • UnitPrice
    • Amount
  • Products
  • Stores
  • Customers
  • Dates
  • Targets

All lessons in Power BI Basics