Data quality rule

A data quality rule is an automated test that checks data against a stated expectation, for example that a maturity date falls after the trade date or that a mandatory field is filled. Each rule belongs to a quality dimension and has a threshold, an owner and an escalation route.

Also called: data validation rule · data quality check

What it is

A data quality rule is a precise, testable statement of what valid data looks like, written so that a system can check every record against it and report the failures. The rule turns a general wish for good data into a pass or fail result.

A rule has these parts:

The result is usually expressed as a pass rate:

pass rate = records passing the rule / records tested

Rules run inside the loading process, in the data store, or on a schedule, and their results are logged for review and trend analysis.

Why it matters

Reports, risk figures and regulatory returns are built on data that passes through many systems. An error that nobody tests for travels to every report downstream.

Supervisory and international standards on risk data call for accurate and reliable data, for completeness across the group, for reconciliation to sources and for validation rules with exceptions identified and explained. Data quality rules are the working form of these expectations.

A rule also assigns a person to a failure. Without an owner and an escalation route, a failed test is noted and left.

Worked example

Illustrative numbers. A rule on a trade table states that the maturity date must be later than the trade date.

The result is below the threshold, so the rule is in breach. The failure is escalated to the data steward, who finds that 120 of the 150 records come from one feed with swapped date fields. Fixing the feed removes those 120. The remaining 30 failures give 49,970 / 50,000 = 99.94 percent, which is above the threshold.

How to read it

A single pass rate says little. The trend over time, the size of the breach and the importance of the field matter more. A high pass rate on a field that nobody uses is of less concern than a small failure rate on a field that feeds a regulatory return.

Who uses it

Common confusions

7Roles that need it

8Skills behind it

Sources behind this page (2) · Updated 4 Nov 2026

Concept