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.
- Profile: count and look
- Decide a rule for each problem
- Clean and log every change
- Count again and compare
- Hand over to the testers
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| Opening each box before the move | Data profiling |
| A cracked plate thrown out with a note | Data cleansing |
| Two copies of one book | Repeated records |
| Choosing which copy to keep | A survivorship rule |
| The label on each box | The 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.
| In the trick | What it stands for |
|---|---|
| profile | looking at a set of data to learn what is really in it |
| cleanse | fixing 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
- 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.
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.
- 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.
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
- 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)
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.
- 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)
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.
- 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)
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.
- 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)
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.
- 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)
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.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
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.
- 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)
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.
- 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.
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.
- 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.
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.