Entitx

Quality, risk and privacy

Data quality dimensions: definitions, examples and how to measure them

  • Updated
  • 8 min read
  • By Mateusz Pierzchała
Contents

“Is our data good?” has no useful answer until you say good in what way, and good enough for what. Data quality dimensions break the question into parts that can be measured: is the data complete, unique, valid, consistent, timely and accurate?

In short

  • A data quality dimension is a measurable aspect of data quality, such as completeness or validity.
  • The six dimensions most often used were set out by DAMA UK in 2013: completeness, uniqueness, timeliness, validity, accuracy and consistency.
  • Each dimension is measured through rules on specific data, with a threshold that says what is good enough for the data’s use.
  • Quality is relative to purpose: the same data can be good enough for one use and not for another.
  • Measuring helps only when failing results become issues with owners, and lead to fixes at the source.

What a data quality dimension is

A dimension is a category of data quality characteristics that can be measured in a similar way. Dimensions give people a shared vocabulary (“the problem is timeliness, not accuracy”) and give structure to rules, scorecards and reporting.

Several frameworks exist:

  • DAMA UK’s six primary dimensions (2013), the most widely used short list, described below.
  • Wang and Strong (1996), a research framework built from the point of view of data consumers, with fifteen dimensions in four groups: intrinsic, contextual, representational and accessibility.
  • ISO/IEC 25012, the international data quality model, with fifteen characteristics. Some are inherent to the data, such as accuracy, completeness, consistency, credibility and currentness; others depend on the system that holds it, such as availability and recoverability.
  • DAMA-DMBOK, which discusses these frameworks and adds further dimensions, such as integrity and reasonability.

The frameworks overlap more than they differ. Pick one set, define each dimension for your organization and use it consistently.

The six core dimensions

DimensionQuestion it answersExample ruleTypical metric
CompletenessIs the required data there?Every active customer has a postal addressRecords with a value / records where a value is required
UniquenessIs each thing recorded once?No two customer records describe the same personDistinct entities / records, or the share of duplicates
ValidityDoes the data conform to its definition?An order date is a real date; an IBAN passes its check digitsValues that meet the rule / values tested
ConsistencyDo different records of the same thing agree?A customer’s country in the CRM equals the one in billingPairs that agree / pairs compared
TimelinessIs the data available when it is needed?Yesterday’s transactions are loaded by 6:00Loads on time / all loads, or the delay in hours
AccuracyDoes the data match reality?The recorded address is where the customer livesValues confirmed correct / values verified

Completeness

Completeness is the share of data present out of what should be present. It applies at several levels: a value in a mandatory column, a record for every expected entity (every branch delivered its file), a full set of attributes for a particular use.

Two subtleties matter. Completeness should be measured only where a value is expected: a company has no date of birth. And placeholder values such as “N/A”, “unknown” or 1900-01-01 hide missing data and should count as missing.

Uniqueness

Uniqueness means that each real-world entity is recorded once within a data set. It is measured by looking for duplicates, which are rarely exact copies: the same customer may appear with a different spelling, a new address or a typo in the date of birth. Measuring uniqueness therefore needs the matching techniques of master data management.

Validity

Validity means that values conform to the definition of the data element: its data type, format, length, range and list of allowed values. Typical validity rules check that a postcode has the right format for its country, that a percentage lies between 0 and 100, that a currency code is in ISO 4217, or that an account number passes its check digits.

Validity is the easiest dimension to automate, which is why quality programs often have too many validity rules and too few of anything else. A value can be perfectly valid and still wrong.

Consistency

Consistency means that two or more representations of the same thing do not contradict each other. It covers consistency between systems (the same customer status in the CRM and in billing), within a record (a delivery date not before its order date), and over time (a monthly total that equals the sum of the daily totals).

Timeliness

Timeliness is the degree to which data is available when it is needed and represents reality at the required point in time. It is measured as the delay between an event and the moment the data about it can be used, against an agreed expectation. Some frameworks separate currency (is the data up to date?) from timeliness (did it arrive in time for its use?).

Accuracy

Accuracy is the degree to which data correctly describes the real-world object or event. It is the most important dimension and the hardest to measure, because it needs a source of truth: an authoritative reference such as a company register or a postal address file, a confirmation from the customer, or a physical check of a sample.

Validity is often mistaken for accuracy. A date of birth of 12 March 1985 is valid; whether it is accurate depends on when the person was actually born.

From dimension to rule

A dimension becomes useful when it is turned into rules on specific data. A well-formed data quality rule records:

  • the data it checks: a column, a set of columns or a business term;
  • its dimension;
  • the condition, in business language and as an executable check;
  • the threshold: the share of records that must pass, for example 99.5%;
  • the owner who acts when it fails, and the severity of a failure;
  • how often it runs, and where its results are kept.

Rules should be attached to the data they check and to the business terms behind it, so that anyone looking at a column or a term can see how good it is.

Setting thresholds

Thresholds depend on the use of the data. A missing email address may be acceptable for 10% of customers if email is used only for newsletters, and unacceptable for any customer who chose email as the only channel for their statements.

  • Start from the consequences. What happens if the rule fails for one record, for 1% of records, for 10%?
  • Set thresholds with the data owner, who is accountable for the decision.
  • Use two levels where it helps: a warning level and a failure level.
  • Avoid 100% everywhere. It turns every minor exception into an alarm and hides the real problems.
  • Review thresholds when the use of the data changes.

Measuring and improving

  1. Profile the data to see what it really contains: value distributions, empty values, formats, outliers, duplicates. Profiling suggests rules and realistic thresholds.
  2. Define rules for the data that matters most, starting with the critical data elements.
  3. Run the rules regularly and keep the results over time.
  4. Report on a scorecard by dimension, by data domain and by system, with trends.
  5. Turn failures into issues with an owner, a severity and a due date.
  6. Find the root cause by following the data lineage upstream to where the error entered.
  7. Fix the cause, not only the data. Correcting records downstream treats the symptom; changing the process, the validation or the source system prevents the next error.

DAMA-DMBOK describes this as a continuous cycle based on the Shewhart-Deming cycle of plan, do, check and act. An often quoted rule of thumb, the 1-10-100 rule, makes the same point about cost: preventing an error is far cheaper than correcting it later, and correcting it is far cheaper than living with its consequences.

Common mistakes

  • Measuring what is easy instead of what matters. Hundreds of validity checks on unimportant columns, and nothing on the figures the board reads.
  • Confusing validity with accuracy. Data that passes every format check can still be wrong.
  • No owner for failing rules. A scorecard nobody acts on is decoration.
  • Fixing data downstream. Cleansing in the warehouse hides the problem from the people who could prevent it.
  • One score for everything. An overall quality score of 97% can hide 60% completeness in the one attribute that matters.
  • Ignoring the purpose. Targets set without the data’s use in mind are either too strict or too lax.

Frequently asked questions

What are the six dimensions of data quality?

The six dimensions most commonly used, from DAMA UK’s 2013 white paper, are completeness, uniqueness, timeliness, validity, accuracy and consistency. Other frameworks, such as ISO/IEC 25012 and DAMA-DMBOK, describe more, but these six cover most practical data quality rules.

What is the difference between validity and accuracy?

Validity checks that a value conforms to its definition: the right type, format, range or allowed value. Accuracy checks that the value is true to the real world. A valid value can still be inaccurate, so measuring accuracy needs an authoritative source or a verification.

How do you measure data quality?

Define rules for specific data, each tied to a dimension and a threshold, run them regularly and record the share of records that pass. Report the results by dimension, domain and system over time, and open an issue with an owner whenever a rule falls below its threshold.

What is a good data quality threshold?

One that reflects how the data is used and what a failure costs. Data used in regulatory reports or payments may need thresholds close to 100%; data used for broad analysis can tolerate more. The data owner should set the thresholds, and review them when the use of the data changes.

Who is responsible for data quality?

The data owner is accountable for the quality of their domain and sets the targets. Data stewards define rules and follow up issues, technical stewards implement checks and fixes in systems, and the people and processes that create data are responsible for getting it right at the source.