Contact us
Insights

Profiling nullable identifiers

Blank customer numbers, missing codes, and placeholder values break joins quietly. How to profile identifiers before you rely on them.

The problem

The join that drops rows without saying so

Integrations and reports join records on identifiers: customer number, product code, order reference. If some are blank, rows fall out of the join without any error. If they’re filled with a placeholder such as 0 or “N/A”, hundreds of unrelated records collapse onto one customer. The report runs, the numbers look plausible, and they’re wrong.

Measures

What to measure for each identifier

How often it’s blank

The share of records with no value, overall and for each source.

Placeholder values

Values standing in for blank, such as 0, “N/A”, “TBC”, or 999999.

Duplicates

Values that should be unique but appear on more than one record.

Format

Lengths and patterns that don’t fit, such as codes that have lost their leading zeros.

Profiling

How to profile an identifier

Step 1 of 4

  1. Start with the keys your integrations and reports join on.

  2. Group values by length and shape to spot placeholders and bad formats quickly.

  3. A problem that starts on one date or in one system points to its cause.

  4. Decide whether to fix at source, map, reject, or report each kind of bad value.

Leading zeros and spreadsheets

One of the most common identifier faults comes from spreadsheets. For example: product code 00123 is opened in a spreadsheet, saved as 123, and imported back, and now matches nothing. Store identifiers as text everywhere, never as numbers, and check imported files for codes shorter than the expected length.

Records not joining up?

Tell us which identifiers you rely on and where the data comes from. A few lines are enough.

Tell us what’s not working