Datolio

Datolio · Explore practical Data Governance with Datolio.

Data quality rule examples for real teams

A data quality rule states what should be true, why it matters and how violating records will be identified.

A data quality rule is a testable expression of a business expectation. The dimension classifies the failure; the rule says what must be true; the threshold and consequence say when people should act.

Start with the fields that influence a decision, not every field in a dataset. Profiled evidence can suggest a rule, but a human must decide whether the expectation, threshold and response make sense for the intended use.

Anatomy of a useful rule

  1. State the expectation Write a sentence a business user can confirm before choosing SQL or a no-code condition.
  2. Choose the dimension Use a dimension to explain the failure mode, not as a substitute for the rule itself.
  3. Define scope and tolerance Name the dataset, field, eligible population and acceptable threshold.
  4. Agree the response Assign severity, reviewer and action when exceptions exceed tolerance.
  5. Keep the evidence Retain run time, eligible rows, violations and a bounded sample so a score can be interpreted.
Worked data quality rules
DimensionBusiness expectationThresholdResponse
CompletenessCompleted sales have a Customer ID≥ 99.5% presentInvestigate source mapping below threshold
AccuracySold quantity cannot be negative0 violationsBlock weekly sales publication
UniquenessTransaction ID identifies one transaction100% uniqueMerge or quarantine duplicates
ConsistencyCompleted sale customer exists in customer master≥ 99.9% matchedReview late master-data loads
TimelinessDaily sales arrive by 08:00 UTC95% of days per monthEscalate repeated late delivery

What good looks like

A pass rate without the eligible population, expectation and tolerance is not enough evidence to decide whether data is fit for use.

Explore Datolio