One mapping table per dimension

Data & sources

The rule

Every grouping used in the model lives in exactly one table, on a tab of its own. Account to line item, cost center to function, SKU to product family.

Why it matters

Mapping is where reporting consistency is won or lost.

When account-to-line-item logic lives inside nested IFs scattered across four schedules, two of them will eventually disagree about where a new account belongs. The P&L stops tying to the departmental view, and finding out why takes a day. A single mapping table makes that impossible. Everything reads the same answer, and adding a new account is one row in one place.

How to do it

Format it as an Excel Table with the raw key in the first column and one column per grouping level. Reference it with XLOOKUP or a Power Query merge. Never with nested IFs.

Then add an unmapped check: count the source keys that find no match and surface the count in the check row. The failure mode that matters here is a new account nobody mapped, quietly dropping out of the totals.

The exception

None, though keep the table close to its owner. If sales owns the product hierarchy, the mapping table should be the thing you send them.

Related

Related

Back to the Playbook