Prepare data without double-counting records

Workroomly Editorial
Begin the lesson ↓

Share this resource

Copy the link to share this page with your team.

Choose the right row meaning and time boundary before calculating a report.

Prepare data without double-counting records

A chart can look plausible while counting the wrong thing. Decide what one row represents and use stable identities to connect related data.

Start with the right grain

If you are counting tasks, one analytical row should represent one task. A task with three review events should not become three tasks simply because the records were joined.

A join connects related records using a key. Use the task or item ID, not a title that may be reused or changed.

Prepare the records

1. Keep the original source unchanged and make an analysis copy. Note which source version and cutoff the report should use.

2. Check unique identities. Remove an exact duplicate event from the analytical count, but resolve conflicting versions of the same event with the source owner rather than choosing whichever looks better.

3. Apply the time rule. An event that occurred after the report’s cutoff does not belong in that earlier snapshot simply because it appears in the file you received.

4. If your measure uses the latest review, select the latest valid review at or before the cutoff for each item, then apply the success rule. Do not fall back to an earlier approval when the latest review requests changes. Join that latest review to the item list. Keep items with no review—they may be the exceptions you need to see.

5. Apply the intended population rules, such as active items due within a period. Keep due date, created date and review-event time distinct.

6. Compare the included identities with the source, then calculate totals. Equal row counts can hide a missing item and a duplicated one.

Check three common counting traps

This is a data-preparation guide, not a Workroomly query or import walkthrough. Use an analysis copy of your permitted source; the small fictional example below illustrates the checks without changing application records.

For a snapshot at 20 October, 09:00 UTC, count an item as ready only when its latest eligible review is Approved with evidence. All three items below are eligible for the example's item population.

Source item Review evidence Correct treatment
P01 R001: Approved with EV01, 18 October 14:00 Ready; one item.
P05 R004: Approved with EV05, 20 October 09:30 Unverified at 09:00; the review is after cutoff.
P08 R006: Approved with EV08A, 19 October 15:00, delivered twice; R007: Changes needed, 20 October 08:45 Deduplicate identical R006, then use latest R007. Unverified; still one item.

The resulting register has three distinct items and one ready item: 1/3 = 33.3%. Keep an exclusion/correction note for the duplicate event and after-cutoff review. Do not count event deliveries as items or use P08's older approval to improve the result.

For your full dataset, also retain eligible items without reviews and flag approvals without evidence. Conflicting versions of one event need source-owner resolution, not arbitrary deduplication. Before using a native reporting route, verify its actual field mappings and output identities; this example assumes no query language or automatic deduplication feature.

Continue learning

In this series: Build useful business reports — guide 3 of 8.

Turn what you learned into the way the team works.

Mark this lesson complete once the workflow exists in your workspace—not simply when you reach the bottom.