Control totals
A control total is a figure calculated from a set of records, such as a count of rows or the sum of an amount field, and compared with the same figure from a trusted source. A difference shows that records were lost, added or changed.
What it is
A control total is a summary figure computed from a group of records and compared with an independent figure for the same group. It tests whether the group arrived and was processed completely and without alteration, without checking each record one by one.
The usual forms are:
- A record count: the number of rows, items or documents.
- A financial total: the sum of an amount field, such as the value of all invoices in a batch.
- A hash total: the sum of a numeric field that has no business meaning, such as account numbers, used only as a check.
ISACA describes batch controls as checks on the correctness of batches of input, in two forms: sequence numbering of records and control totals of values in selected fields. It describes a hash total as a total of a numeric field that is checked against a control total of the same field.
The figure from the trusted side is the expected total. The figure computed from the received or processed data is the actual total. The two should be equal.
Why it matters
Data moves between systems through files, interfaces and queries. A row can be dropped by a failed load, duplicated by a join or altered by a transformation, and the loss is invisible in the result itself.
The Government Accountability Office lists record counts, control totals and arithmetic totals of important data among the ways to test that source documents are not lost, added or changed between processing stages. Its audit manual describes completeness and accuracy as the core objectives of application controls over input, processing and output.
Worked example
Illustrative numbers. A ledger extract is sent to a reporting database. The sending system states 1,200 rows and a total amount of 5,000,000. The reporting database holds 1,198 rows and a total of 4,950,000 after the load.
The record count differs by 2 and the amount differs by 50,000. The analyst compares the two row lists, finds two rows rejected because of a formatting error, corrects them and reloads. The load then shows 1,200 rows and 5,000,000, and the totals agree.
If the counts agree but the amounts differ, a value was changed during processing. If the amounts agree but the counts differ, offsetting items were added or removed, which is why both checks are taken.
How to read it
A match shows that the batch is complete and unaltered in the field tested. It does not show that the data is right at source, or that fields not totalled are intact.
A difference is a signal to investigate, not a diagnosis. The size and sign of the difference point to the kind of fault: a whole row missing, a duplicate, or a changed value.
Assumptions
- The reference figure comes from a source independent of the process being tested.
- The two totals cover the same scope, period, currency and filters.
- The field totalled is relevant to the risk being tested.
Who uses it
- Data analysts compare row counts and sums after each extract, join or load before a result is used.
- Business intelligence analysts check that a report total equals the total of the source system.
- FP&A analysts agree imported actuals to the ledger total before updating a model.
- Business controllers confirm that interface files post in full to the ledger.
- IT auditors test whether interfaces and batch jobs carry control totals and whether differences are followed up.
Common confusions
- A control total is not a reconciliation. A reconciliation explains each difference between two sets of records; a control total only detects that a difference exists.
- A hash total is not a financial figure. Its sum has no business meaning and serves only as a check value.
- An agreeing total does not prove accuracy of individual records, because errors can offset one another.
- A control total differs from a checksum, which is computed from the bytes of a file to detect corruption in transfer.