Data Quality

The Six Dimensions of Data Quality and How to Measure Them

Every production machine learning model, executive dashboard, and automated workflow relies on an unstated assumption: that the underlying data accurately reflects reality. When that assumption breaks

Published 10/24/2026 · Izan Technologies

Want this built for your team?

Senior engineers, your cloud, your IP.

Every production machine learning model, executive dashboard, and automated workflow relies on an unstated assumption: that the underlying data accurately reflects reality. When that assumption breaks, models drift, business intelligence misleads leadership, and regulatory audits trigger costly remediations. While organizations recognize the danger of "garbage in, garbage out," managing data quality often stalls because teams lack clear, objective metrics to evaluate their pipelines.

To build reliable data products, engineering teams must evaluate data through a standardized framework. The DAMA International body of knowledge defines six core dimensions of data quality. Understanding these dimensions—and implementing automated tests to evaluate them—transforms data quality from a reactive fire drill into a predictable engineering discipline.


1. Accuracy

Accuracy measures how well a piece of information reflects the real-world object, event, or entity it is meant to represent. Unlike validity (which only evaluates whether data satisfies structural rules), accuracy evaluates truthfulness.

For example, a customer record containing a phone number formatted as +1 (555) 000-0000 is structurally valid, but if the number belongs to a disconnected line, it is inaccurate.

How to Measure Accuracy

Measuring accuracy requires a trusted source of truth or a baseline reference point. Common measurement techniques include:

  • Source-to-Target Reconciliation: Comparing aggregated financial balances or transactional totals between the source operational database (e.g., PostgreSQL) and the destination data warehouse (e.g., Snowflake or Databricks).
  • Reference Data Cross-Checking: Verifying customer addresses or postal codes against national postal service APIs.
  • Accuracy Ratio: Calculating the percentage of records that match an authoritative source:

$$\text{Accuracy Rate} = \left( \frac{\text{Total Validated Records} - \text{Discrepant Records}}{\text{Total Validated Records}} \right) \times 100$$


2. Completeness

Completeness measures whether all required data fields and records are present. Missing data can bias training datasets in machine learning workloads, invalidate cohort analyses, and break downstream joins.

Completeness applies at two levels: record-level completeness (are all rows present that should have arrived from the extraction?) and attribute-level completeness (are mandatory columns populated with non-null values?).

How to Measure Completeness

  • Null Value Rate: Track the percentage of null or empty string entries in critical columns:

$$\text{Null Rate} = \left( \frac{\text{Count of Null Values in Field}}{\text{Total Row Count}} \right) \times 100$$

  • Expected Volume Checks: In modern ETL/ELT pipelines, compute row count deltas against historical moving averages (e.g., flagging any batch where incoming transaction counts drop more than 3 standard deviations below the 30-day mean).
  • Foreign Key Match Ratios: Detecting orphan records where child records exist without corresponding parent entries in dimensional models.

3. Consistency

Consistency evaluates whether data values stored across different systems, tables, or representations remain synchronized and free of contradictions.

If an enterprise CRM lists a customer’s annual contract value as $50,000, but the ERP billing database shows $62,000 for the same account ID, the data lacks consistency. Similarly, consistency applies internally within a record: a shipment date should never precede an order creation date.

How to Measure Consistency

  • Cross-System Discrepancy Rate: Run scheduled reconciliation queries across decoupled systems to surface mismatches:

$$\text{Inconsistency Rate} = \left( \frac{\text{Mismatched Records Between Systems}}{\text{Total Shared Entities}} \right) \times 100$$

  • Relational Integrity Tests: Implement assertion tests in tools like dbt or Soda Core to flag logical paradoxes (e.g., WHERE churn_date < signup_date).
  • Semantic Standardization Checks: Verify that categorical values map to a unified taxonomy (e.g., preventing parallel usage of "US", "USA", and "United States" within the same dimension table).

4. Timeliness (Freshness)

Timeliness measures whether data is available at the expected point in time and reflects the current state of operations. Even highly accurate data becomes useless if it arrives after a decision has already been executed.

In streaming and batch architectures on platforms like AWS and Azure, pipeline latency, compute queue bottlenecks, and delayed upstream API deliveries directly erode timeliness.

How to Measure Timeliness

  • SLA Latency: Measure the delta between an event's real-world timestamp and the timestamp when it becomes queryable in the warehouse:

$$\text{Latency} = T_{\text{Warehouse Ingestion}} - T_{\text{Event Created}}$$

  • Freshness Lag Checks: Tools such as Snowflake Data Metric Functions (DMFs) or Great Expectations evaluate the maximum age of the most recent row:
    SELECT DATEDIFF('minute', MAX(event_timestamp), CURRENT_TIMESTAMP()) AS freshness_lag_minutes
    FROM analytics.core.events;
    
  • Pipeline Run Duration: Tracking the wall-clock execution time of batch jobs to catch degraded transformation performance before SLAs breach.

5. Validity

Validity measures whether data conforms to syntax, formats, schemas, ranges, and domain constraints established for a system. Unlike accuracy, validity evaluates adherence to explicit technical definitions.

For instance, an email address that lacks an @ symbol or a state code containing three characters instead of two violates validity constraints.

How to Measure Validity

  • Schema Conformance Tests: Automated evaluation using JSON Schema, Apache Avro, or SQL type constraints to reject ill-formed data before writing to silver/gold layers.
  • Regex Pattern Matching: Checking that structured strings match defined patterns (e.g., ^[A-Z]{2}[0-9]{4}$ for internal SKU codes).
  • Validity Percentage Metric:

$$\text{Validity Rate} = \left( \frac{\text{Count of Conforming Records}}{\text{Total Records Evaluated}} \right) \times 100$$

  • Permitted Value Checks: Ensuring enum columns only contain whitelisted tokens (e.g., status IN ('PENDING', 'ACTIVE', 'CANCELLED')).

6. Uniqueness

Uniqueness evaluates whether each entity, event, or transaction exists only once in the target dataset. Duplication inflates revenue reporting, skews machine learning training samples, and distorts downstream aggregations.

Duplicates often enter architectures via upstream webhook retries without idempotency keys, overlapping CDC (Change Data Capture) sync windows, or Cartesian joins in multi-table SQL queries.

How to Measure Uniqueness

  • Primary Key Collision Rate: Execute assertions confirming zero duplicates on logical keys:
    SELECT customer_id, COUNT(*)
    FROM analytics.core.dim_customers
    GROUP BY customer_id
    HAVING COUNT(*) > 1;
    
  • Deduplication Ratio: Quantify duplicate volume within raw staging data:

$$\text{Duplicate Rate} = \left( 1 - \frac{\text{Count of Distinct Keys}}{\text{Total Rows}} \right) \times 100$$

  • Fuzzy Entity Matching: For unkeyed records, leverage string distance algorithms (like Levenshtein or Jaro-Winkler) across multiple attributes (e.g., First Name + Last Name + Address) to detect deduplication candidates.

Summary: Dimensions of Data Quality at a Glance

DimensionCore QuestionStandard Key MetricCommon Testing Tool / Pattern
AccuracyDoes the data reflect reality?Source-to-target mismatch %Custom Python reconciliation, AWS Deequ
CompletenessAre mandatory fields and rows present?Null rate %, Missing row countdbt not_null, Great Expectations
ConsistencyDoes data contradict other sources or logic?Cross-database record varianceRelational assertion tests, Soda Core
TimelinessIs the data fresh and available on schedule?Ingestion latency, Freshness SLA lagSnowflake DMFs, Databricks Lakehouse Alerts
ValidityDoes the data conform to rules and schemas?Format conformance %Regex assertions, Pydantic, schema enforcement
UniquenessIs each entity represented exactly once?Primary key duplicate countdbt unique, windowed deduplication checks

Operationalizing Data Quality in Production

Knowing the six dimensions of data quality is only half the battle; enterprises must embed automated tests directly into CI/CD pipelines and ingestion layers. Rather than running manual SQL queries after dashboards fail, high-performing teams enforce data quality measures at every tier of the modern data stack:

  1. Shift Left with Ingestion Gates: Use schema registries and streaming validation (e.g., on Kafka or AWS Kinesis) to drop or dead-letter invalid payloads before they hit downstream storage.
  2. Implement Warehouse Circuit Breakers: Leverage transformation-layer checks via dbt, Soda, or Databricks Lakehouse Monitoring. If critical accuracy or completeness checks fail, halt downstream reporting models immediately to prevent bad data propagation.
  3. Automate Observability and Anomaly Detection: Configure monitors across Snowflake, Databricks, and cloud data warehouses to automatically detect sudden shifts in row count, null percentages, and schema drift without writing manual static thresholds for every table.

Implementing comprehensive testing across these dimensions safeguards analytics investments and ensures your machine learning models train on trustworthy inputs.


How Izan Technologies Helps

At Izan Technologies, we design and deploy enterprise-grade data platforms and AI solutions across AWS, Azure, Databricks, and Snowflake. We build automated data observability, schema enforcement, and production quality controls directly into your modern data stack—ensuring your models and analytics run on pristine data.

Best of all, our engagements are built on complete client ownership: our customers own 100% of the IP, code, and architectures we deliver.

Ready to eliminate pipeline blind spots and build robust data platforms? Try our Smart AI DataStudio or talk to an expert today.

Want this built for your team?

Senior engineers, your cloud, your IP.