CleanDims
CleanDimsproductCanonical reference

The canonical reference.

Stable IDs, hierarchy levels and aliases for places, industries and vendors. One canonical layer with hierarchy levels, reused by every later join.

PURPOSEShared join keysAUDIENCEAnalysts, data architectsOUTPUTIDs, levels and aliases

What it is.

A canonical dimension is the shared vocabulary that two datasets are missing. Each source’s text values map to a canonical value with a stable ID, label and hierarchy level. The original label remains visible alongside that shared key.

CleanDims builds the missing key from text columns such as places, industries and vendors. It matches dimension values, not customer records. A vendor-name crosswalk can make two datasets join on vendor; it does not establish that two customer records are the same person.

Canonical dimensions include IDs, labels, levels, parents and aliases. Crosswalks link source columns and raw values to those IDs so that the mapping can be used in your own analysis.

Shared across sources, reviewed with domain context.

The same dimension can appear in different systems under different column names. Procurement may know a supplier as AWS while a contracts register uses Amazon Web Services, Inc. Those labels should meet at the same canonical vendor rather than at separate project-specific lookup tables.

A person approves which columns describe the same dimension. Domain knowledge remains important: similar labels can describe different concepts, and an ambiguous value should not become a join key simply because its spelling looks close.

The broader discipline of federated references is described in the open target-state document. Today CleanDims applies it to the join itself: canonical IDs for the values inside columns, published as crosswalks any source can use.

Aliases and saved decisions.

AWS, aws and Amazon Web Services, Inc. can be aliases of one canonical vendor. Every mapping carries a confidence score. Uncertain ones wait for review, and each decision is reused.

Keep the source label and the crosswalk alongside the canonical output. Later joins can reuse approved mappings instead of rebuilding the same CASE WHEN statements or spreadsheets. If new values arrive, they pass through the same review rather than being silently folded into the existing reference.

Join at the right level.

“New York” is a state and a city. One source reports by state, another by county, and nothing says which. Stable IDs alone are not enough: the hierarchy level must also agree.

Finer levels roll up so sources meet at the right one. Store sales by state and population by county now join at state level. A person reviews ambiguous place names before they become part of the published dimension.

  1. 01 / Original labels

    Source values

    AWS · aws · Amazon Web Services, Inc.

  2. 02 / Shared dimension

    Canonical value

    Amazon Web Services · VEN-0033 · vendor · parent VEN-0001

  3. 03 / Join key

    Crosswalk

    Each source value links to the same canonical ID. Join invoices and contracts on that ID.

Illustrative values. Original labels remain visible; aliases and hierarchy levels supply the missing key.
Illustrative vendor labels map to one canonical ID; crosswalks make that ID usable in each source.
SCENARIO

A multinational with several labels for one industry.

A CRM, a contract register and a company registry classify industries using Computer Software, SaaS / Cloud and 5112 Software publishers. The wording differs even though the analysis needs a shared dimension.

CleanDims groups the relevant columns, asks a person to approve the mapping and proposes canonical value groupings. Approved aliases point to the same industry ID; ambiguous classifications wait for review. The analyst uses the crosswalks to join at the agreed level, while the original source labels remain available for inspection.

Request a pilotBring your sources and the level you need to join at.