सामग्री पर जाएँ

लेसन 7 · Metrics and KPIs

Comparisons, Targets and Variance

Give numbers context with previous period, same period last year, rolling windows and targets, and calculate variance, percent change and fair to-date figures.

"We had 4,200 orders" tells a reader very little. Is that good? Better than last month? On plan? A number becomes information when it stands next to something else. This lesson covers the common comparisons, how to calculate them and where each one can mislead.

Choose the comparison

Comparison Good for Watch out for
Previous period Recent direction Seasons, different numbers of working days
Same period last year Seasonal businesses Last year may have been unusual
Rolling window Smoothing noisy data Reacts slowly to sudden change
Target or plan Progress toward a goal A poorly set target
Peer group Spotting differences Groups that are not truly alike

There is rarely one correct choice. Pick the one that answers the reader's question, and keep it the same from report to report. Switching the comparison each month to whichever looks best is a way of misleading people, even if every figure is accurate.

Variance and percent change

Variance is the difference from a reference: actual minus target, or this period minus the last one. Percent change divides that difference by the reference.

TEXT
absolute change = new - old
percent change  = (new - old) / old
attainment      = actual / target

Two cautions. First, when the old value is zero, percent change is undefined. Show the absolute change and write "n/a". When the old value is very small or negative, the percentage can look dramatic or strange, so show the raw values too. Second, "higher" is not always "better". Higher cost or more complaints is bad. Store the direction with each metric so that your report can label results correctly.

Python Variance with the right direction

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Complaints fell, so the change is negative and the status is good. Cost per order rose, so the change is positive and the status is bad. A report that colors all positive changes green would get both backwards.

Fair comparisons to date

On November 10 you cannot compare November so far with all of October. Compare like with like: the first 10 days of each month, or the same number of working days. These are called period-to-date comparisons, such as month to date or year to date.

Calendars are uneven. Months differ in length and in their number of weekends, and holidays move. A drop of a few percent may come entirely from one fewer working day. When days matter, show a per-working-day rate beside the total.

SQL Month over month and rolling average in SQL

Press Run (or Ctrl + Enter) to see the result here.

November has 200 fewer orders than October in total, yet it has more orders per working day (210 against 200). Both facts are true. Your report should show whichever the reader needs, or both, with a sentence that explains the difference. The working-day counts here are invented. Note also that the first two rolling averages cover fewer than three months, so label or hide them. See LAG and LEAD and running totals for more on these functions.

Targets

A target is a promise or a plan, so say where it came from: last year plus growth, a contract level or a team agreement. Targets can be one number, a range or a path that changes over the year. If the business is seasonal, spread an annual target by the expected pattern and not in twelve equal parts.

Status colors and labels need written rules. For example:

TEXT
On track:  at or above target
Watch:     below target but within 3% of it
Off track: more than 3% below target

The 3% band is an example. For lower-is-better metrics, mirror the rules. Always show the word or a symbol as well as the color.

Is the change real?

Small movements are often normal variation. Before you explain a change, look at a longer history and ask how much the value usually moves. With small counts, a jump from 2 to 4 is "up 100%" but may mean nothing. For decisions that depend on whether a difference is more than chance, use proper statistical methods, as in the statistics tutorial.

Show several comparisons without overload

One comparison rarely tells the whole story. A week can be below the previous week but well above the same week last year. Still, a table with six comparison columns is hard to read.

A practical pattern is to pick one primary comparison, usually the target or plan, which drives the status label. Add one secondary comparison for direction, such as the previous period. Put longer history in a small trend chart, which shows seasons and unusual periods without more columns.

When two comparisons disagree, say so in words: "Above target, but down for the third week in a row." That sentence helps more than either label alone, because a goal can still be met while the trend is heading toward a miss.

Name every reference exactly. "Versus plan" is unclear if the plan was revised in the middle of the year. Write "versus original plan" or "versus June forecast", and keep both available if readers use both. A target says what you want, while a forecast says what you currently expect, so do not use one word for the other.

Do not write an explanation for every small up or down. Readers learn to treat noise as signal, and teams spend time chasing causes that do not exist.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Sales were 0 last month and 15 this month. What should the percent change show?

    Dividing by zero is undefined, so show the raw values and mark the percentage as not available.
  2. 2. Average resolution time went up by 8%. How should the report judge it?

    Each metric needs a direction. For resolution time, lower is normally better.
  3. 3. It is November 10. Which is the fairest comparison?

    Compare windows of the same length, and mention differences such as working days.
  4. 4. What is the risk of changing the comparison base each month to look best?

    Selective context distorts the story. Keep comparisons consistent.

Summary

  • Place each number beside a relevant, consistent comparison.
  • Show absolute and percent change, and use n/a when the base is zero.
  • Store a direction for each metric so that status labels are correct.
  • Compare periods of the same length and consider working days and seasons.
  • Write down target sources and status rules, and do not over-explain noise.

Next: Ratios, Averages and Percentages

आपकी प्रगति इसी ब्राउज़र में सेव होती है। खाते की ज़रूरत नहीं है।