TOPIC 21/2313 MINNOT STARTED

Data profiling and cleansing

Look at data before you move it: count blanks, repeats and odd values, agree rules for fixes, clean with a log, and check the result against what the business needs.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: opening boxes before a move. Before you carry boxes to a new home, you open each one. You count what is inside. You find a cracked plate, two copies of one book, and a box with no label. You do not carry the mess and hope.

What it is: is looking at a set of data to learn what is really in it. You count blanks, repeats, formats, ranges, and odd values. It lives in a few database queries, or in a profiling tool that runs those counts for you. is fixing or removing wrong, repeated, or badly formatted values, using rules you agreed, and keeping a log. A survivorship rule says which value to keep when two records describe the same thing and disagree. The nearest neighbour is a copy that moves every row as it stands. Profiling is the look you take before that copy.

Why it matters: Leo asks whether an old Daily List export is ready for the new app. A blank title, two spellings of done, or a guessed date will become bad tasks. Sam cannot write the rules until the counts exist.

Boxes hold things you can see. Data problems can hide, so a count beats a glance.

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.

THE REAL JOB The picture helps a newcomer remember to look inside the data before carrying it, to fix with agreed rules, and to keep a note of every change.

  1. Profile: count and look
  2. Decide a rule for each problem
  3. Clean and log every change
  4. Count again and compare
  5. Hand over to the testers
Before the data moves

HOW THE PICTURE MAPS

How each part of the picture matches the work
In the pictureIn the work
Opening each box before the moveData profiling
A cracked plate thrown out with a noteData cleansing
Two copies of one bookRepeated records
Choosing which copy to keepA survivorship rule
The label on each boxThe log of changes

WHERE THIS PICTURE STOPS

  • Boxes hold things you can see, but data problems can hide until you count.
  • A cracked plate is plainly broken, but a wrong date can look perfectly fine.
  • You pack once, but data keeps arriving, so checks must be repeated.

HOOK

Look, decide, clean, check, and write it down.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

Usually look before you fix: profile the data for blanks, repeats and odd values, then cleanse it and record every change.

What each part of the trick stands for
In the trickWhat it stands for
profilelooking at a set of data to learn what is really in it
cleansefixing or removing wrong, repeated or badly formatted data

It misleads when the data is tiny and one glance already shows the fault.

TELL A FRIEND

Before moving data, look inside it and count blanks, repeats and odd values. Agree a rule for each problem, clean with a log of every change, and count again afterwards.

OFTEN MIXED UP WITH Data quality. That topic names what good data looks like. This one shows how to look at real data, agree fixes and keep a record.

Sources & standards — 2 sources
  1. Market practiceUK Government Data Quality Framework,3December2020,dimensions/user-needs tradeoffs

    UK Government Data Quality Framework,3December2020,dimensions/user-needs tradeoffs ↗ — UK Government · Core six data-quality dimensions, examples and user-needs trade-offs; selected UK framework sections read 7 November 2026.

    Opened dimensions; validity is rule/range/format, accuracy matches reality. Suspicious candidates are not confirmed factual errors. No single dimension guarantees fitness. · Checked 2026-11-06

    Primary-source scope and access recorded in v12-ba-technical-audit-20261106.md. Advisory practice unless the cited instrument and its applicability establish a requirement.

  2. Implementation-specific

    SQLite: built-in aggregate functions ↗ — SQLite project · count(X) versus count(*), NULL handling, min/max ordering and sum; full aggregate descriptions read 7 November 2026.

    NULL/empty aggregate results; SQLite numeric/text coercion. · Checked 2026-11-06

    Publisher documentation opened on6November2026. Engine/version scope is explicit; other database implementations may differ. Teaching queries are synthetic, not a required publisher template.

PRACTISE AND KEEP

Sources for this topic — 9 sources
  1. Market practice

    Data profiling (Dataedo documentation) ↗ — Dataedo · Data profiling (Dataedo documentation): profiling checks a dataset for null counts, distinct values, value patterns and how often each value appears (search excerpt, page not opened)

    Vendor documentation. Describes checks on a dataset such as null counts, distinct values, value patterns and frequency. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Data profiling (MotherDuck glossary) ↗ — MotherDuck · Data profiling (MotherDuck glossary): profiling can be done by hand with count, minimum, maximum and distinct-count queries, or with tools (search excerpt, page not opened)

    Vendor glossary. Says profiling can be done by hand with count, minimum, maximum and distinct-count queries or with tools. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Data cleaning: what it is, procedure, best practices (Airbyte) ↗ — Airbyte · Data cleaning: what it is, procedure, best practices (Airbyte): cleaning covers duplicates, standard formats and missing values, merged records should follow survivorship rules, and the result should be checked against business needs (search excerpt, page not opened)

    Vendor guide. Covers duplicates, standard formats, missing values and checking the cleaned data against business needs. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    How to tackle the data migration cleansing challenge (Experian blog) ↗ — Experian · How to tackle the data migration cleansing challenge (Experian blog): where to cleanse, at the source or on the way, is a central choice, and fixing data in an old system can break other processes that use it (search excerpt, page not opened)

    Practitioner blog. Says where to cleanse, at the source or on the way, is a central choice and warns that fixing data in an old system can break other processes that use it. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    Data quality dimensions (International Business Machines documentation) ↗ — IBM · Data quality dimensions (IBM documentation): six quality dimensions: accuracy, completeness, consistency, timeliness, uniqueness and validity (registry source; search excerpt, page not opened)

    Vendor documentation. Lists accuracy, completeness, consistency, timeliness, uniqueness and validity. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Daily List, Sam, Nina, Leo, Tom, Mei and Lily are invented, and every count in the examples is made up for teaching. The steps are common practice described by tool vendors and practitioners, not one rulebook. The pages were search excerpts and none was opened. No source found covered keeping an audit log of changes, so that step is common practice with no attribution.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  7. Market practice

    Applying business data analytics during business change (IIBA blog) ↗ — International Institute of Business Analysis · IIBA material on business data analytics tasks; the blog's task list was checked against the IIBA Guide to Business Data Analytics pages, which number the tasks 2.1 to 2.6; a few guide tasks are not in the blog (search excerpt, page not opened)

    Lists the task names under the CBDA domains: define business problem, formulate research questions, plan approach, plan data collection, determine the data set, collect and validate data, develop analysis plan, prepare and explore data, perform analysis, derive insights, communicate findings, recommend action, develop implementation plan, manage change. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail. 2026-10-25: checked against the Guide to Business Data Analytics of the International Institute of Business Analysis (IIBA) (rq-iiba-bda-guide-domains). The blog's fourteen names match guide tasks 2.1.1, 2.1.4, 2.1.5, 2.2.1 to 2.2.4, 2.3.1 to 2.3.4, 2.4.4, 2.4.5, 2.5.1, 2.5.2 and 2.5.3. Two pairs are merged. The guide has more tasks than the blog lists.

  8. Market practiceUK Government Data Quality Framework,3December2020,dimensions/user-needs tradeoffs

    UK Government Data Quality Framework,3December2020,dimensions/user-needs tradeoffs ↗ — UK Government · Core six data-quality dimensions, examples and user-needs trade-offs; selected UK framework sections read 7 November 2026.

    Opened dimensions; validity is rule/range/format, accuracy matches reality. Suspicious candidates are not confirmed factual errors. No single dimension guarantees fitness. · Checked 2026-11-06

    Primary-source scope and access recorded in v12-ba-technical-audit-20261106.md. Advisory practice unless the cited instrument and its applicability establish a requirement.

  9. Implementation-specific

    SQLite: built-in aggregate functions ↗ — SQLite project · count(X) versus count(*), NULL handling, min/max ordering and sum; full aggregate descriptions read 7 November 2026.

    NULL/empty aggregate results; SQLite numeric/text coercion. · Checked 2026-11-06

    Publisher documentation opened on6November2026. Engine/version scope is explicit; other database implementations may differ. Teaching queries are synthetic, not a required publisher template.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.