Menu
CoddyTech

The Total Row

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

The total row is not the sum of the rows. It is the measure calculated again with no row filter.

A customer who buys in two stores counts once in each store row, but once in the total.

Customers = DISTINCTCOUNT(Sales[CustomerID])

A total smaller than the sum of the rows is the right answer.

challenge icon

Challenge

Beginner

Write Customers, the number of different customers. It is checked for each store and for the total.

Try it yourself

Customers =
StoreCustomers
Lisbon Riverside
Porto Ribeira
Madrid Centro
Barcelona Gracia
Berlin Mitte
Total
Fields
  • Sales
  • Products
  • Stores
    • StoreID
    • Store
    • City
    • Country
    • OpenDate
  • Customers
  • Dates
  • Targets

All lessons in Power BI Basics