Data Quality Assessment: Profiling, Validation, and Quality Checks
Learn how to profile your data, identify quality issues, set validation rules, and ensure your datasets are reliable before analysis.
Data Quality Assessment: Profiling, Validation, and Quality Checks
Good analysis starts with good data. If your data has errors, gaps, or inconsistencies, every result built on it will be unreliable. This guide teaches you how to measure, assess, and improve data quality before running any analysis.
---
The Six Dimensions of Data Quality
| Dimension | Question It Answers | Example Issue |
|---|---|---|
| Completeness | Are there missing values? | 30% of email addresses are blank |
| Accuracy | Are the values correct? | Age = -5, or a city listed in the wrong country |
| Consistency | Do values agree across columns? | Start date is after end date |
| Timeliness | Is the data up to date? | Customer addresses from 5 years ago |
| Uniqueness | Are there duplicates? | Same customer appears 3 times |
| Validity | Do values follow the expected format? | Email without "@", phone with letters |
Data Profiling
Data profiling is the first step: automatically summarizing each column to spot issues.
What Profiling Shows
For each column, profiling reports:
| Metric | What It Tells You |
|---|---|
| Data type | Is the column numeric, text, date, or boolean? |
| Missing count / % | How many values are empty or null? |
| Unique count | How many distinct values exist? |
| Min / Max | The smallest and largest values (numeric/date) |
| Mean / Median | Central tendency for numeric columns |
| Standard deviation | How spread out the values are |
| Most frequent values | The top 5-10 most common values |
| Pattern distribution | For text: common formats (e.g., "XXX-XXX-XXXX" for phone numbers) |
How to Run Profiling
- Open your dataset
- Go to Statistics or use the Preview panel
- The platform automatically computes profile stats for every column
- Review the summary cards or table
Completeness Checks
Identifying Missing Data
Missing data can appear as:
- Empty cells
nullorNoneNaN(Not a Number)- Placeholder values:
"N/A","unknown","-","0"(when 0 is not a real value)
Completeness Thresholds
| Missing % | Severity | Recommended Action |
|---|---|---|
| 0-5% | Low | Impute or ignore |
| 5-20% | Medium | Investigate cause, impute carefully |
| 20-50% | High | Consider dropping the column or using advanced imputation |
| 50%+ | Critical | Column is likely unusable — drop or find a better source |
Checking for Hidden Missing Values
Sometimes missing data is disguised:
0in a "revenue" column where 0 means "not recorded""Unknown"or"N/A"in text columns1900-01-01as a default date
---
Accuracy Checks
Range Validation
Set expected ranges for numeric columns:
| Column | Valid Range | Flag If |
|---|---|---|
| Age | 0 - 120 | Negative or > 120 |
| Temperature (°C) | -90 - 60 | Outside physical limits |
| Percentage | 0 - 100 | Negative or > 100 |
| Price | 0 - max reasonable | Negative prices |
Cross-Column Validation
Check that values make sense together:
| Rule | Example |
|---|---|
| Start date <= End date | Order placed before shipped |
| City matches country | "Paris" should not appear under "Japan" |
| Total = Quantity × Price | Computed total matches stored total |
| Age matches birth date | Calculated age matches reported age |
Consistency Checks
Text Consistency
Look for:
- Mixed casing: "New York" vs "new york" vs "NEW YORK"
- Leading/trailing spaces
- Different abbreviations: "St." vs "Street", "Dr." vs "Doctor"
- Encoding issues: "Café" vs "Café"
Category Consistency
For categorical columns, list unique values and look for:
- Near-duplicates: "Electronics" vs "Electronic" vs "Elecronics" (typo)
- Unexpected categories: A "Gender" column with 50 unique values
- Inconsistent labeling: "Y"/"N" vs "Yes"/"No" vs "1"/"0"
Uniqueness Checks
Finding Duplicates
- Select Remove Duplicates or use profiling
- Choose key columns (e.g., customer ID, email, order number)
- Review duplicate groups
- Decide: keep first, keep last, or remove all duplicates
Key Column Uniqueness
Certain columns should always be unique:
- Primary keys (ID, order number)
- Email addresses (if used as identifiers)
- Transaction IDs
---
Validity Checks
Format Validation
| Column Type | Expected Format | Invalid Example |
|---|---|---|
| name@domain.com | "not-an-email", missing "@" | |
| Phone | Digits, possibly with +/- | "abc-1234" |
| Date | YYYY-MM-DD or similar | "32/13/2025" |
| URL | http:// or https:// | "just text" |
| ZIP code | 5 digits (US) | "ABCDE" |
Data Type Validation
Ensure columns have the correct type:
- Numeric columns should not contain text
- Date columns should parse correctly
- Boolean columns should only have true/false values
Building a Quality Report
After running all checks, summarize findings:
| Column | Completeness | Type OK | Range OK | Consistency | Issues Found |
|---|---|---|---|---|---|
| customer_id | 100% | Yes | N/A | Yes | None |
| 95% | Yes | N/A | Mixed case | 5% missing | |
| age | 98% | Yes | 2 negatives | Yes | Fix negatives |
| city | 85% | Yes | N/A | 3 variants | Standardize names |
| revenue | 100% | Yes | 1 outlier | Yes | Review outlier |
Quality Score
You can compute an overall quality score:
Quality Score = (Completeness × 0.3) + (Accuracy × 0.25) + (Consistency × 0.2) + (Uniqueness × 0.15) + (Validity × 0.1)
This gives a single number (0-100%) to track data quality over time.
---
Automated Quality Rules
For recurring datasets (e.g., daily sales data), set up rules that run automatically:
| Rule Type | Example | Action |
|---|---|---|
| Completeness | Email must be >= 95% filled | Warn if below threshold |
| Range | Age must be 0-120 | Flag violations |
| Uniqueness | Order ID must be unique | Reject duplicates |
| Freshness | Data must be from last 7 days | Alert if stale |
| Schema | Must have columns: id, name, date | Reject if schema changes |
Quick Reference
| Check | What to Look For | Tool |
|---|---|---|
| Missing values | Null, blank, NaN | Profiling / Statistics |
| Outliers | Extreme values | Box plot / IQR / Z-score |
| Duplicates | Repeated rows | Remove Duplicates |
| Type errors | Numbers as text | Change Type |
| Inconsistency | Mixed formats | Text Operations |
| Range violations | Values outside limits | Filters / Validation rules |
What's Next?
- [Data Preprocessing Guide](data-preprocessing-guide) — Clean and transform your data
- [Missing Data Imputation](missing-data-imputation) — Advanced strategies for filling gaps
- [Statistics Overview](statistics-overview) — Analyze your quality-checked data
- [Datasets Guide](datasets-guide) — Upload and manage datasets
Related Articles
Data Preprocessing: Cleaning, Transforming, and Preparing Your Data
Learn how to clean messy data, handle missing values, encode categorical variables, normalize numbers, and prepare your dataset for analysis or machine learning.
Datasets Guide: Upload, Preview, and Manage Your Data
A comprehensive guide to uploading CSV, Excel, and JSON files, configuring delimiters and encoding, previewing your data, and managing your datasets.
Missing Data Imputation: Strategies for Handling Gaps in Your Data
Understand why data goes missing, learn basic and advanced imputation strategies (mean, median, KNN, MICE), and choose the right approach for your dataset.
Statistics Overview: What Are Statistics and How to Use Them
A beginner-friendly introduction to statistics, descriptive vs inferential analysis, the Statistics workspace layout, and running your first analysis.
Was this helpful?