Contents

Chapter 14 min read

What the data cannot tell you

On this page

A dashboard shows a number. To use it, we need to know what it measures, where it came from, and how it was calculated. The values alone rarely supply those answers.

Metadata is information that describes data: its structure, meaning, origin and use. Column names and types are metadata. So are a metric's definition and a record of the job that produced it. These descriptions may live inside a database, alongside a report, or in a separate catalogue.

What a number means

Even “on-time delivery” leaves room for different calculations. The denominator is the total number of deliveries included in a percentage. The people using the result need to agree which deliveries count.

Worked example · Two ways to count deliveries

A parcel company promised four deliveries by noon. At 13:00, two have arrived on time, one arrived late, and one has not arrived. This is an invented example; assume the delivery records are complete at that moment.

Question Calculation Result
Of the completed deliveries, how many were on time? 2 out of 3 66.7%
Of all deliveries due, how many arrived on time? 2 out of 4 50.0%

Both calculations are valid for their stated questions. The first measures punctuality among completed deliveries. The second also counts the parcel still waiting to arrive. A dashboard labelled only “on-time delivery” leaves its readers to guess which question it answers.

Compare the two denominators

The activity starts with the same four parcels. Select Completed deliveries and All parcels due in turn. Compare the count below the parcels and the denominator in the calculation. Which parcel changes the count?

Then select Try six parcels. Enter the number of parcels due in Your denominator and select Check my answer. Open the parcel activity in its own page.

Record the decision

Suppose Delivery Operations uses the second definition: of all deliveries promised by noon, what proportion arrived on time? A useful definition would record:

What this tells us All four parcels belong in the denominator, including the unfinished delivery. Two arrived on time, so the defined measure gives 50.0%.

Another team can use the completed-delivery measure if its definition states the population and names the responsible team.

Column names also need explanation. Does delivered_at record when a parcel reached a depot or when it reached the customer? Both are plausible meanings; the name alone cannot tell us which one applies.

A recorded definition helps readers understand what a number measures. It also reveals when similarly named metrics count different things and should not be compared directly.

Later in the book, Chapter 8 compares ways to store and maintain these definitions, from reviewed documents to a metadata catalogue.

Check the calculation against the definition

Recording a rule does not ensure that a query follows it. If the dashboard removes unfinished deliveries before counting, it will show 66.7% even though the recorded definition requires 50.0%.

The definition makes this disagreement testable. A reviewer can inspect the query's filters and denominator, then compare its output with the four-parcel example. If the intended rule changes, both the definition and the calculation need review.

A database already records some of the information that helps with this check: its table structure and saved query definitions. Those records are the starting point for the database example in Chapter 2.

Core points

  • A metric must say what counts. Completed deliveries and all deliveries due answer different questions, even when both are labelled “on-time delivery.”
  • Record the definition and responsible team. Readers need to know what is included, when it is measured and whom to ask about its meaning.
  • A definition is something to check against. Inspect the calculation to verify that its filters and denominator follow the recorded rule.
Watch the chapter recap or read the transcript
Chapter recap1 min 33 sec

The delivery example is invented and assumes complete records at the measurement time. Narration uses a synthetic voice.