First sales total
Start with one order line
Revenue in this fictional shop is quantity multiplied by unit selling price. All amounts are USD; the dataset excludes tax, discounts and returns. Each row represents one line of an order, not an entire order. This meaning is called grain.
Worked example: five sales lines
Read labs/fixtures/sales.csv. The rows are L01: 2 × $12 = $24; L02: 1 × $30 = $30; L03: 3 × $12 = $36; L04: 1 × $50 = $50; L05: 2 × $30 = $60. Add the five results: $24 + $30 + $36 + $50 + $60 = $200. Period: January 5–7, 2026 inclusive; no rows excluded.
Check the result another way
Group by day: January 5 = $54; January 6 = $86; January 7 = $60. These subtotals sum to $200. Group by region instead: North = $104 and South = $96. Both groupings cover exactly the same five lines, so they reconcile to the same total.
Common mistake: multiplying totals
The shop sold 9 items. Multiplying 9 by the sum of the five unit prices would not represent any valid sale; each line has its own quantity and price. Multiply within each row, then add. Also, two lines share O01, so five lines represent four distinct orders.
Practice
Calculate the total if L03 is excluded and identify the remaining quantity and order count. Explain why the changed result is not a data error if the filter is intentional. No DAX or Desktop execution is needed.
Further official reading
These links provide supporting context; the local fixture and its expected results remain unchanged.