Menu
CoddyTech

What a Measure Is

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

A measure is a named formula written in DAX. Type it in the formula bar: name, equals sign, formula.

Total Units = SUM(Sales[Quantity])

SUM adds up a column. A column is its table plus its name in square brackets: Sales[Quantity].

A measure is calculated where you place it: the total on a card, one value per bar in a chart.

challenge icon

Challenge

Beginner

Write your first measure. Name it Total Units and make it add up Sales[Quantity]. The table below shows it for each category.

Try it yourself

Total Units =
CategoryTotal Units
Coffee
Tea
Bakery
Merch
Total
Fields
  • Sales
  • Products
    • ProductID
    • Product
    • Category
    • UnitPrice
    • UnitCost
  • Stores
  • Customers
  • Dates
  • Targets

All lessons in Power BI Basics