Where expertise becomes performance. · Search the Praxis library
All Insights

Data and AI

Write a metric definition another analyst can reproduce

Turn a familiar dashboard label into a testable calculation with a boundary case.

Accumentum® PRAXIS · Edition of · 6 min read

Analyst annotating a metric definition.

“Cases closed this month” looks self-explanatory until a case closes twice. A useful metric definition specifies how records become a count. Its test is whether another analyst can reproduce the result from a small dataset without asking the author what they meant.

Specify the event

Choose the event, identifier and time window. Is the unit a unique case that reached closed status or every transition into that status? Which time zone defines the end of the month? Write down how to handle reopened cases, deleted test records and late-arriving events. The owner of the business decision should approve exceptions that affect interpretation.

Build a boundary case

Use three invented records. Case A closed once, case B closed and reopened, and case C closed twice. If the question is how many distinct cases reached closure, the answer can be three. If it is how many are closed at month-end, B may drop out. A count of closure events can include both transitions for C. State the expected result for your chosen definition.

Put the definition under review

Keep the sample records, calculation and expected answer together. When the source system or reporting rule changes, rerun the example. Document the effective date and decide whether prior periods need restatement. A visible break in a series is easier to explain than an apparent performance shift caused by a silent definition change.

Build a test ledger before writing the formula

Create five fictional events for three cases. Case A closes on April 3, reopens on April 5 and closes again on April 8. Case B closes on April 30. Case C remains open through April. Ask the metric owner for three numbers. How many close events occurred in April? How many distinct cases closed at least once? How many of these three cases were closed at the end of April? The answers are three, two and two. The two matching results describe different things.

Now add a reopen event for B on April 30 after it closed. The close-event and distinct-case totals stay the same. The end-of-period snapshot changes to one. This extra line is a particularly valuable test because it separates definitions that previously agreed by coincidence. Save both versions of the ledger and the expected answers. Give a new analyst the definition and events before showing them the answer key.

Specify the clock and the corrections policy

Pick the timestamp that matches the business question. A team may enter an event on May 2 for work completed on April 30. If the report measures operational closures, the event date may belong in April. If it measures entries processed, May may be appropriate. State the reporting time zone and whether the window includes the first instant of the next month. Adjacent reports should agree about which period owns an event on the boundary.

An owner must also decide what happens after publication. A corrected record might change the historical count. One sponsor may need the value as originally reported for a board packet. Another may need the most accurate current estimate for capacity planning. Name both versions when both serve a purpose. Record when data were last refreshed and how a reader can recognize a restatement. The formula alone cannot communicate that agreement.

Ask another analyst to break the definition

Give the second analyst a duplicate import, a missing case identifier and a case that moves between teams. Ask what each item contributes to the organization total and to the team breakdown. If a case closes under one team and reopens under another, attribution by current team can move last month's results. Attribution at event time answers a different question. Choose deliberately and record who owns that choice.

A useful definition fits on a short page. Include the question, unit, eligible source, event or snapshot rule, reporting window, attribution, known exclusions, test examples and accountable owner. At the next change review, rerun the ledger under the old and proposed definitions. Give the sponsor the cases whose treatment changes. They can then accept the change knowing what an increase or decrease in their dashboard will actually mean.

Treat a definition change as a small release

Imagine that the sponsor changes the definition from “closed at least once this month” to “closed and still closed at month end.” Under the old definition, a case closed on April 12 and reopened on April 20 contributes one to April. Under the new definition it contributes zero. If the team silently replaces the formula, managers may interpret a lower count as a decline in operational output. The change is partly a change in what the organization is asking.

Run both definitions over a representative period and sort the records that change category. Perhaps most differences come from reopened cases, with a smaller group caused by missing end-of-period status. Give the sponsor examples from both groups. They may accept the treatment of reopens immediately while realizing that the snapshot source is incomplete. Fixing the source or labeling the limitation can now happen before the number becomes a target.

Decide how much history to reconstruct. A usable snapshot may be available for the past quarter while earlier periods retain only closure events. A trend line spanning both definitions could suggest a continuous series that the data cannot support. Options include restating only the periods that can be rebuilt, clearly marking the definition change, or displaying separately named series. Ask which choice supports the decisions the historical comparison is supposed to inform.

Keep the signed-off definition, effective date, owner and test results close enough that the next analyst can find them during a reporting deadline. Then ask for one prediction. If a case closes twice and remains open at period end, what should each series display? If the analyst answers without contacting the original author, the team has a reusable metric. If they still need an oral explanation, add the missing example to the definition.

Expected results from the April test ledger
DefinitionEffect when B reopens on April 30
Number of closure events in AprilRemains three. The later reopening does not erase either of A's closures or B's earlier closure event.
Distinct cases that closed at least once in AprilRemains two. Both A and B meet this event-based rule even though one is open at month end.
Cases closed at the end of AprilFalls from two to one. A remains closed after its second closure. B has reopened and C never closed.

Test your judgment

A case closes on the last day of one month and reopens the next. Which month changes?

Compare your reasoning

That depends on the definition. A count of closure events in the first month can stay fixed. A report of current open cases changes with the reopening. Specify the reporting timestamp and whether the measure is an event total or a snapshot.

Microsoft Learn on data relationships and consistent reporting grain

Readivance™

Use one standard across your team.

Explore a fictional program in Readivance™, from role requirements and work samples to human review and fresh reassessment.