KPIs and Metric Design
Choosing and defining metrics that reflect real value, including north star metrics, input metrics and guardrails.
Beginner · about 4 hours · difficulty 2/5
Learn first: Framing Questions and Requirements, Aggregation with GROUP BY and HAVING
A metric is only useful if moving it means the business is actually getting better. Good analysts spend real effort on choosing and defining metrics before reporting on them.
Types of metrics
- North star metric: one number that best captures value delivered to customers, such as weekly listening hours for a music app or nights booked for a travel marketplace.
- Input (driver) metrics: levers teams can move that feed the north star: new signups, activation rate, items per order.
- Guardrail metrics: things that must not get worse while you optimise: refund rate, page load time, support tickets.
- Leading vs lagging: activation this week predicts revenue next quarter; revenue itself lags.
Properties of a good KPI
- Clearly defined: numerator, denominator, time window, filters, and how edge cases (refunds, test accounts) are handled.
- Actionable: a team knows what they would do to move it.
- Sensitive but not noisy: it moves when something real changes.
- Hard to game: optimising it should not damage the business. Counting "calls handled" can reward short, unhelpful calls.
Ratios vs counts
Report rates (conversion rate, revenue per user) alongside the counts that make them up, so a rising rate caused by a falling denominator is visible.
Metric documentation
Keep a metric dictionary: name, definition, SQL or DAX, owner, and known caveats. It is the cheapest way to stop meetings arguing about whose number is right.
Pitfall: vanity metrics like total registered users that only ever go up. You are ready to move on when you can propose a north star, three input metrics and two guardrails for a product you use.
Key concepts
- North star metrics
- Input and driver metrics
- Guardrail metrics
- Leading vs lagging indicators
- Vanity metrics and gaming
- Metric dictionaries
- OKRs and targets
Mini project
For a food delivery app, write a metric dictionary with a north star, four input metrics and two guardrails, each with an exact definition and a SQL sketch.
Check yourself
Give an example of a metric that could improve while the business gets worse, and name a guardrail that would catch it.
Free resources
- Key performance indicator (overview) (Wikipedia)
- Amplitude docs: metrics and analytics guides (Amplitude)