Join Us at Trusted Data Summit themed on "Trusted Data-AI Ready Outcome" on Nov 19th 2026 at 09:30 EST

DataOps Suite
The complete platform
Platform Overview
See how it works

DataOps Suite

Data Quality and Agentic AI platform that validates, reconciles, scores, monitors and remediates data from ingestion to BI and AI.

Why one platform

Agentic AI-powered test and rule creation
Agents generate data quality rules, validation tests and SQL from prompts, with your approval.
Data quality score per dataset
Shows the current score, what changed since the last run and the failing records behind it.
Validation and observability inside the pipeline
Every load is compared with its source, transformations are tested against business logic, and freshness, volume and schema changes are monitored.
Reports that match the source
Dashboard figures are compared with the source data behind them before users see them.
Test data without real records
Synthetic data that mirrors production replaces sensitive records in test environments.
Quality gates for releases
Pipeline and report changes are tested before they go to production.

Data Quality Monitor

Continuously profiles, validates and scores enterprise data, with Agentic AI that recommends rules and flags anomalies, so analytics and AI run on trusted data.

Capabilities

AI-recommended DQ rules and scoring
Agents suggest completeness, validity and uniqueness rules, with scores down to the column.
Data profiling
Analyzes distributions, patterns and frequencies to surface outliers.
AI-based observability
Agents monitor pipelines end to end, detect anomalies and suggest fixes.
Data catalog
Organizes models and tables in one catalog, with AI-drafted descriptions.
Data lineage
Traces data from origin to destination through every transformation.
Data quality issue tracking
Assigns every failing record to an owner and tracks it to resolution.

ETL Validator

Automates ETL/ELT testing, with Agentic AI that builds tests from mapping docs, confirming every record arrives complete, accurate and correctly transformed.

Capabilities

AI-generated ETL tests
Turns mapping docs into checks for joins, transforms and edge cases.
Source-to-target validation
Matches loaded data to the source, down to record counts and required fields.
Transformation validation
Verifies business logic with SQL, Python or Scala.
Migration validation
Checks schema, row counts and integrity for cloud migrations.
Metadata change audit
Catches schema and metadata discrepancies before they break pipelines.
Root cause and adaptive tests
Pinpoints where data broke, and agents update tests when mappings change.

BI Validator

Automates testing and governance for Power BI, Tableau and Oracle Analytics, with Agentic AI that builds tests from plain English and keeps reports accurate and reliable.

Capabilities

AI-created BI tests
Describe a test scenario in plain English, and agents build it.
Visual-to-source comparison
Compares the data behind every visual to the source using auto-generated SQL.
Regression and upgrade checks
Pixel-level comparisons across environments, with AI summaries of what changed.
Measure logic checks
Converts BI measures and calculations to SQL to confirm KPI logic.
Performance and load testing
Simulates concurrent users and measures load and refresh times.
BI governance
Finds unused measures, duplicate reports and orphaned tables.

Test Data Manager

Uses Agentic AI to detect and mask sensitive data and generate synthetic data that mirrors production, so teams can test without exposing real records.

Capabilities

AI synthetic data generation
Learns patterns from a small sample to create production-like data.
PII discovery and masking
Detects PII and PHI and replaces it with realistic fake values.
Relationship-aware data
Keeps linked tables connected with referential integrity.
Millions of records in minutes
Scales for load, stress and performance testing.
Multi-format output
CSV, Parquet or JSON, or loaded straight into test databases.
Compliant by design
Cloud or on-prem, supporting GDPR and HIPAA requirements.
Data Quality Use Case
The problem to solve
ROI calculator
Estimate the time and cost youโ€™ll save.
Financial services
SOX, BCBS 239 and NAIC MAR

Banking, Financial Services, and Insurance (BFSI)

Stop reporting errors before examiners find them, with every number traced from core system to board dashboard.

How Datagaps helps

Core platform migrations
Cut over banking and insurance platforms, including mainframe to cloud, without losing a record.
Regulatory reporting
Hold submissions until the data meets quality thresholds.
Financial reconciliation
Match GL to subledger automatically, with every break flagged.
Risk and credit data
Catch drift before risk, lending and pricing models degrade.
Dashboard attestation
Prove capital and board dashboards match the warehouse.

Healthcare

Keep claims and clinical data accurate through every migration, without exposing patient records in testing.

How Datagaps helps

EHR migrations
Confirm every record survives the move to Epic, Cerner or Oracle Health.
Claims data quality
Catch errors in claims and remittance feeds as they arrive.
APCD submissions
Check every file against state templates before you submit.
Clinical dashboards
Catch KPI and report changes after every refresh.
Provider directories
Keep provider listings accurate, current and audit-ready.

Life Sciences

Catch issues in clinical and real-world data before submission, and keep trial subject data out of test environments.

How Datagaps helps

Clinical data migrations
Move EDC, CTMS and LIMS data to the cloud without losses.
CRM migrations
Keep rebate calculations right through Veeva and Salesforce moves.
Pharmacovigilance data
Catch adverse event data issues before regulatory submission.
Commercial and clinical dashboards
Trace every KPI back to source clinical and lab records.
De-identified trial data
Keep subject data out of test, analytics and AI environments.

Manufacturing

Avoid broken ERP cutovers and supplier overpayments, and catch sensor drift before it hits production.

How Datagaps helps

ERP migrations
Move BOM, inventory and financial data across Oracle, SAP and cloud without breaks.
Supplier reconciliation
Catch overpayments and duplicate invoices with three-way PO, ASN and invoice matching.
Sensor data quality
Catch drift before it skews predictive maintenance and yield models.
Operations dashboards
Catch report breaks after every release or upgrade.
Safe ERP test data
Keep supplier pricing and production volumes out of lower environments.

Retail and Utilities

Catch settlement, inventory and pricing errors before your customers or regulators do.

How Datagaps helps

Settlement reconciliation
Match marketplace payout files to the general ledger, record by record.
Inventory accuracy
Keep POS, ERP and warehouse numbers in sync.
Pricing and promotions
Catch price and promotion mismatches across channels.
Reliability dashboards
Keep SAIDI and SAIFI reliability reporting accurate.
BI under load
Make sure reports hold up for thousands of concurrent users.

Higher Education & Research

Get enrollment, financial-aid and transcript data right before SIS cutover, before students feel it.

How Datagaps helps

SIS migrations
Validate moves from Banner or PeopleSoft to Workday Student or Ellucian.
Financial-aid reconciliation
Match aid and Bursar data to the general ledger.
Enrollment reporting
Keep census and admissions dashboards consistent from cycle to cycle.
Federal reporting
Monitor data quality ahead of IPEDS submissions.
Safe student data
Test and train AI without exposing real student records.

Trusted Data Summit

A practitioner summit focused on the validation, observability, governance, and reconciliation practices that determine whether enterprise data is ready for AI.

Save Your Spot
Nov 19th, 2026
Technology Partners
Cloud, data and BI platforms

Become a partner

Resell, implement or co-deliver

Technology Partners

Datagaps works natively with the cloud, data and BI platforms your teams already run.

Our technology partners

AWS logo
Cloudera logo
Tableau logo
Microsoft Azure logo
Snowflake logo
Oracle logo
Databricks logo

SI Partners

Consulting and integration firms that deliver Datagaps validation for enterprise clients worldwide.

Our SI partners

Solutions

Use cases

Cloud platforms

BI and analytics

Testing Type 2 Slowly Changing Dimensions using ETL Validator

Testing-Type-2-Slowly-Changing-Dimensions-06

What Are Type 2 Slowly Changing Dimensions?

Type 2 Slowly Changing Dimensions (SCD Type 2) are a data warehouse modeling technique used to track changes to data over time by preserving historical values rather than overwriting them. This is achieved by creating a new record in the dimension whenever a value in the set of key columns is modified, while maintaining start and end dates for each record. The current record is identified either by querying for rows that are not end-dated, or by maintaining a flag (e.g., current_flg) to easily distinguish it from historical versions.

Key Takeaways

  • SCD Type 2 canโ€™t be validated with a simple source-to-target comparison โ€” because historical records accumulate over time, testing needs to account for both current and past versions of each row.
  • Query Compare validates current records โ€” comparing the source table against only the rows flagged CURRENT_FLG = 'Y' in the dimension confirms the active data matches the source.
  • Duplicate Check Rule verifies key-column uniqueness โ€” grouping by all key columns and checking for COUNT(*) > 1 confirms no unintended duplicate โ€œcurrentโ€ records exist.
  • Baseline and Compare confirms history is preserved correctly โ€” snapshotting the dimension before a source change, then comparing it after the ETL run, verifies that changed records got a new row while the old one was end-dated as expected.
Why Testing SCD Type 2 Dimensions Is Different?

Testing SCD Type 2 Dimensions is tricky because it cannot be achieved by a simple comparison of the source and target data.  In this article we will examine different aspects of Type 2 SCD that can be tested using ETL Validator.

For the sake of this article, letโ€™s consider an Employee dimension (EMPLOYEE_D) of SCD Type 2 which is sourced from a table called EMPLOYEE in the source system.

Sample Table Structure: EMPLOYEE and EMPLOYEE_DIM

Table Columns
EMPLOYEE ROW_ID
EMP_NO
FIRST_NAME
LAST_NAME
SSN
DOB
JOB_TITLE
SALARY
EMPLOYEE_DIM (SCD Type 2 Dimension) ROW_WID
EMP_NO
FIRST_NAME
LAST_NAME
SSN
DOB
JOB_TITLE
SALARY
START_DT
END_DT
CURRENT_FLG

Three Tests to Validate SCD Type 2 Dimensions

Test ETL Validator Feature What It Validates
Test 1: Current Data Accuracy Query Compare Test Case Verifies that current records (CURRENT_FLG = 'Y') match the source system.
Test 2: Key-Column Uniqueness Duplicate Check Rule (Data Rules Test Plan) Ensures no unintended duplicate โ€œcurrentโ€ records exist across key columns.
Test 3: Historical Preservation Component Test Case with Baseline and Compare Confirms that changed records create a new row while the previous row is correctly end-dated.
Test 1: Verifying the Current Data

Use a Query Compare test case in ETL Validator to compare the current data records in the SCD Type 2 Employee_Dim with the data in the source Employee table.

Source Query : select ROW_ID, EMP_NO, FIRST_NAME, LAST_NAME, SSN, DOB, JOB_TITLE, SALARY from EMPLOYEE

Target Query : select ROW_ID, EMP_NO, FIRST_NAME, LAST_NAME, SSN, DOB, JOB_TITLE, SALARY from EMPLOYEE_DIM where CURRENT_FLG = โ€˜Yโ€™

Test 2: Verifying the uniqueness of the key columns in the SCD

The combination of the key columns in the SCD should be Uniqueโ€” a core requirement for dimension tables. For the above example, the columns EMP_NO, FIRST_NAME, LAST_NAME, SSN, DOB, JOB_TITLE, SALARY comprise of an unique key in the EMPLOYEE_DIM dimension. This can be easily verified using the Duplicate Check Rule in the Data Rules test plan of ETL Validator. The query generated by ETL Validator using the Duplicate Check Rule should be something like below:

Select EMP_NO, FIRST_NAME, LAST_NAME, SSN, DOB, JOB_TITLE, SALARY, COUNT(*) CNT from EMPLOYEE_DIM group by EMP_NO, FIRST_NAME, LAST_NAME, SSN, DOB, JOB_TITLE, SALARY having COUNT(*)>1

This query should not return any rows.

Test 3: Verifying that historical data is preserved and new records are getting created

Recommended approach: whenever a change occurs to the values in the key columns, a new record should be inserted into EMPLOYEE_DIM and the old record should be end-dated. ETL Validatorโ€™s Component Test Case โ€” specifically its Baseline and Compare feature โ€” can be used to verify this behavior by snapshotting the dimension before a source change and comparing it against the dimension after the ETL run.
Below are the steps:

  1. Create a Component test case and take a snapshot of the current values in the EMPLOYEE_DIM (called Baseline).
  2. Modify a few records in the source EMPLOYEE table by updating the values in the key columns such as SALARY, LAST_NAME.
  3. Execute the ETL process so the the EMPLOYEE_DIM has the latest data.
  4. Run the Component test case to compare the Baseline data with the Result table and identify the differences. Verify that the differences are as expected.

ETL Validator thus provides a complete framework for automating the testing of SCD Type 2 dimensions.

Conclusion:

SCD Type 2 testing canโ€™t rely on a simple source-to-target comparison, since history accumulates instead of being overwritten. Validating current records, key uniqueness, and historical preservation separately โ€” as ETL Validator does with Query Compare, Duplicate Check Rule, and Baseline & Compare โ€” closes the gaps a basic comparison would miss. This turns SCD Type 2 validation into a repeatable framework instead of a manual, error-prone process.

Frequently Asked Questions: Testing SCD Type 2 Dimensions

1) Why is testing Type 2 Slowly Changing Dimensions difficult?

Because SCD Type 2 preserves history by inserting new records rather than overwriting old ones, a straightforward source-to-target row comparison wonโ€™t work โ€” testing needs to separately validate current data, key uniqueness, and historical preservation.

2) How do you verify current records in an SCD Type 2 dimension?

Use ETL Validatorโ€™s Query Compare test case to compare the source table against only the dimension rows where the current-record flag (e.g. CURRENT_FLG = 'Y') is set, confirming the active data matches the source system.

3) How do you check for duplicate key columns in an SCD Type 2 dimension?

ETL Validatorโ€™s Duplicate Check Rule groups the dimension by its key columns and flags any group with a count greater than one, since the combination of key columns should always be unique among current records.

4) How do you confirm historical records are preserved correctly?

Use ETL Validatorโ€™s Component Test Case with Baseline and Compare: take a snapshot of the dimension before a source change, run the ETL process, then compare the results to confirm the old record was end-dated and a new one was inserted as expected.

Get Started Today

Talk to a datagaps expert

Rajesh Kumar A
Rajesh Kumar A

Digital Marketing Manager, Datagaps

Digital Marketing Manager at Datagaps. Drives data-driven growth through content, performance campaigns, and marketing technology.

narayana's picture
Subrahmanya Narayana Chirravuri

Senior Director, Technology, Datagaps

Senior Director of Technology at Datagaps. Leads engineering for the ETL, BI, and data-quality validation platforms.

Established in the year 2010 with the mission of building trust in enterprise data & reports. Datagaps provides software for ETL Data Automation, Data Synchronization, Data Quality, Data Transformation, Test Data Generation, & BI Test Automation. An innovative company focused on providing the highest customer satisfaction. We are passionate about data-driven test automation. Our flagship solutions, ETL Validator, DataFlow, and BI Validator are designed to help customers automate the testing of ETL, BI, Database, Data Lake, Flat File, & XML Data Sources. Our tools support Snowflake, Tableau, Amazon Redshift, Oracle Analytics, Salesforce, Microsoft Power BI, Azure Synapse, SAP BusinessObjects, IBM Cognos, etc., data warehousing projects, and BI platforms.  Datagaps

Related Posts:
ร—