Sign in

Glossary

Identity

A sum that must hold on every computed table, such as parts equal the whole, checked every time the table is produced.

DefinitionA sum that must hold on every computed table, such as parts equal the whole, checked every time the table is produced.

An identity is an equation that has to be true of a table if the table is right: assigned accounts equal covered plus uncovered; prior revenue plus expansion minus contraction minus churn equals current revenue from the same customers; orders equal OTIF plus late only plus short only plus both; allocated cost equals the cost pools. It is checked in code every time the table is computed, and a table whose identity fails is not shown.

It differs from a control total, which checks that an export arrived complete against a figure from the source system, and from a reconciliation, which is the work of explaining why two files disagree. The identity is the cheapest of the three and the one that catches the most: a customer counted twice, a row dropped by a join, a state left out of a rule. See identity and reconciliation.

How it is used

For each table, an equation that must be true is written down and checked in code every time the table is produced. A table whose identity fails is withheld and the failing rows are listed.

Example

Assigned accounts 400, covered 312, uncovered 85. The identity fails by three: three accounts are assigned to two reps and were counted once as covered and once as uncovered.

Where it goes wrong

Checked once when the report was built. Data changes every week and the check has to run every week.