Menu
CoddyTech

Sum, Count and Average

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

A visual turns many rows into one value. The way it combines them is the aggregation.

Numbers are summed by default, text is counted. You can switch to Average, Min, Max or Count (Distinct).

Match the aggregation to the question: "how many items" is a Sum, "items per line" an Average.

challenge icon

Challenge

Easy

How busy is each shop? Chart the number of order lines per store: a bar chart with Stores[Store] on the axis and the count of Sales[OrderID] in values.

Try it yourself

Bar chart
Fields
  • Sales
    • OrderID
    • Date
    • StoreID
    • ProductID
    • CustomerID
    • Quantity
    • UnitPrice
    • Amount
  • Products
  • Stores
  • Customers
  • Dates
  • Targets

All lessons in Power BI Basics