← All challenges

R1 · Report mechanics · about 10 min

Use the Measure

easy

The model already has a [Total Runs] measure. The league wants a page with a column chart of runs by team and a Season slicer. Whoever maintains the report later should only ever have to change the measure, never every visual.

Your task

On Page 1, add a column chart of runs by team that uses the [Total Runs] measure, and a slicer on Season. Then save (Ctrl+S): the grader reads the saved report.

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.

  • V1Runs by team uses [Total Runs]
    A column or bar chart with Teams[Team] and the [Total Runs] measure.
  • V2No implicit Sum of Runs
    No visual sums the Runs column directly.
  • V3Season slicer
    A slicer on Games[Season] (or the Date table's Year).

Stuck?

Open one hint at a time.

Hint 1

In the chart's Y-axis well, what does it say: Total Runs, or Sum of Runs?

Hint 2

"Sum of Runs" means the visual made its own measure from the Runs column. It ignores [Total Runs], so a later change to that measure won't reach this chart.

Hint 3 (near-answer)

Remove Sum of Runs from the Y-axis and drag the Total Runs measure (the calculator icon in the Data pane) in its place. Then save.

Show the editorial

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

The trap

Dragging the Runs column onto a chart works at first: Power BI sums it for you and shows "Sum of Runs". That is an implicit measure, owned by the visual. When the definition of runs changes (exclude a forfeited game, say), [Total Runs] is updated and this chart silently keeps the old logic.

The fix

Use the [Total Runs] measure in the Y-axis instead of the Runs column.

Why it works

A measure is defined once in the model and every visual that uses it gets the same answer. Change it in one place and the whole report follows. Many teams also set Summarize By to None on numeric columns, so nobody can drag in an implicit sum by accident.

Visuals show measures, not raw numeric columns. If the field well says "Sum of …", replace it with a measure.