← All challenges

M2 · Modeling · about 10 min

Stop Summing the Season

easy

Every time someone drags Season into a visual it shows "Sum of Season": 1,214,700. Team and game IDs do the same. A colleague set the format of Season to "0" without a thousands separator, so it now reads 1214700.

Your task

Fix the model so that Season, Month and every ID column are never summed when dropped into a visual. Runs and Hits must still add up.

What the grader checks

You see the situations, not the expected numbers. The expected values are computed live from your file and the source data.

  • C1Season and Month are not summed
    Games[Season] and Games[Month] have Summarize By set to None.
  • C2ID columns are not summed
    Every GameID, TeamID and PlayerID column, in every table, has Summarize By set to None.
  • C3Runs and Hits still add up
    Batting[Runs] and Batting[Hits] keep Summarize By set to Sum.

Stuck?

Open one hint at a time.

Hint 1

The format string only changes how a number looks. What decides that a column is added up when it lands in a visual?

Hint 2

Select a column in Table view or Model view and look at Column tools. Every whole-number column starts as Sum. Which columns are labels, not quantities?

Hint 3 (near-answer)

Set Summarization to Don't summarize on Season, Month and every GameID, TeamID and PlayerID column, in every table. Leave Runs and Hits on Sum.

Show the editorial

Solve it first if you can: the editorial gives the answer away.

The trap

Power BI gives every whole-number column a default summarization of Sum. Season, Month and the ID columns are numbers, but they are labels: adding up 2024 and 2025 means nothing. Changing the format string hides the thousands separator but the visual still adds the values up.

The fix

Set Summarize By to None (Don't summarize) on Season, Month and every GameID, TeamID and PlayerID column. Keep Sum on Runs and Hits.

Why it works

Summarize By is a property of the column, stored in the model, so it applies to every visual and every report built on the model. With None, dropping Season into a table lists 2024 and 2025 instead of adding them. The format string only controls how a value is displayed, never how it is aggregated.

A number you would never add up is a label: set it to Don't summarize once, in the model.