Capstone Analytics Project · Lesson 91

Build KPI Tables

KPI tables operationalise metric definitions at the correct grain so every reported number has a numerator, denominator, time window and grouping rule.

ConceptWorked examplePracticeKnowledge check
Textbook walkthrough

Build KPI Tables

KPI tables operationalise metric definitions at the correct grain so every reported number has a numerator, denominator, time window and grouping rule.

Learning goal: explain why Build KPI Tables behaves this way, apply it to a small example, and verify the result independently. Begin by being able to justify this first step: Calculate base counts first, derive rates second, compare segments/time and reconcile totals.

Deeper walkthrough

Read Build KPI Tables as a mechanism, not a recipe

Treat this as a sequence of observable decisions rather than one opaque command. Stage 1: Calculate base counts first, derive rates second, compare segments/time and reconcile totals. Stage 2: Keep the stage inside the same data/validation definitions used by the rest of the project. Stage 3: Save the evidence produced by this stage so the next stage can be audited.

Mechanism

Follow the transformation

Calculate base counts first, derive rates second, compare segments/time and reconcile totals.

Keep the stage inside the same data/validation definitions used by the rest of the project.

Save the evidence produced by this stage so the next stage can be audited.

Evidence

Know what would convince you

  • Recompute one result from a handful of source rows or an independent formula.
  • Check row counts, group totals and units before interpreting differences.
Useful distinctionDefinition: The exact metric/selection/comparison being computed.
Click a stage to inspect what happens, what changes, and what should be checked before moving on.
Stage 1

Calculate base counts first

Calculate base counts first, derive rates second, compare segments/time and reconcile totals. For Build KPI Tables, make this checkpoint explicit by recording the evidence inspected, the expected result, and the condition that would make you reject the current result.

Verification focus: record the evidence you inspected and the condition that would make this stage fail.
How it works

Trace the mechanism step by step

  1. Calculate base counts first, derive rates second, compare segments/time and reconcile totals.
  2. Keep the stage inside the same data/validation definitions used by the rest of the project.
  3. Save the evidence produced by this stage so the next stage can be audited.
Worked demonstration

Build KPI Tables evidence

Build KPI Tables evidence
Evidence: one KPI can be recomputed manually from source rows and matches the table.
Expected / illustrative result
The worked evidence makes the output of this project stage concrete and auditable.
Interpret the result.

For Build KPI Tables, trace the specific input through the mechanism above and independently verify one returned value, state change or side effect.

Distinctions & related ideas

Place the concept correctly

DefinitionThe exact metric/selection/comparison being computed.
EvidenceTable, formula or visual that answers the question.
AuditIndependent count/total/rule check that can reveal an error.
Use deliberately

When it is appropriate

Use Build KPI Tables when it answers a defined question in Capstone Analytics Project and its inputs/assumptions match the current data or program state.

Boundary conditions

When to stop or reconsider

Reconsider Build KPI Tables when the required information is unavailable, the operation would violate a validation/data boundary, or a simpler operation answers the question more transparently.

Common mistakes

Failure modes to recognise

  • Changing the population/grain without noticing it.
  • Using an undefined denominator, time window, unit or category rule.
  • Presenting a number/plot without reconciling it to source counts or totals.
Verification

How to check the result

  • Recompute one result from a handful of source rows or an independent formula.
  • Check row counts, group totals and units before interpreting differences.
  • Change one source value and predict which reported value/mark should change.
Hands-on practice

Demonstrate understanding

Try this:

Construct a tiny example of Build KPI Tables. First calculate base counts first, derive rates second, compare segments/time and reconcile totals. Then keep the stage inside the same data/validation definitions used by the rest of the project. Predict the result before execution and explain one boundary or failure case.

List the stage inputs and expected artifact, rerun it from a clean state, and compare against a concrete acceptance check.
Knowledge check

Check reasoning, not memorisation

Which approach best demonstrates understanding of Build KPI Tables?

Quick reference

Remember the logic

Step 1Calculate base counts first, derive rates second, compare segments/time and reconcile totals.
Step 2Keep the stage inside the same data/validation definitions used by the rest of the project.
Step 3Save the evidence produced by this stage so the next stage can be audited.
Lesson summary

What to remember

  • KPI tables operationalise metric definitions at the correct grain so every reported number has a numerator, denominator, time window and grouping rule.
  • Calculate base counts first, derive rates second, compare segments/time and reconcile totals.
  • Changing the population/grain without noticing it.
  • Recompute one result from a handful of source rows or an independent formula.