Master and reference data
Reference data management: code lists, mappings and versions
Contents
Country codes, currencies, product categories, order statuses, units of measure: every system is full of short lists of allowed values. Reference data management makes sure that everybody uses the same lists, with the same meanings, and that changes to them happen in a controlled way.
In short
- Reference data is the set of allowed values used to classify or categorize other data, such as country codes, currencies or status codes.
- It differs from master data: reference data classifies, while master data identifies business entities such as customers and products.
- Some lists are external, such as the ISO country and currency codes; others are internal, such as product categories and customer segments.
- Good reference data management gives every list an owner, a change process, versions with effective dates and mappings between the lists different systems use.
- Most problems come from copies of the same list drifting apart in different systems.
What reference data is
Reference data defines the permissible values of a data element. It is usually small, changes rarely and is used everywhere. Each value typically has a code and a name, and sometimes a definition, a sort order, a parent in a hierarchy and the dates it is valid from and to.
| Kind | Example lists |
|---|---|
| International standards | Countries (ISO 3166), currencies (ISO 4217), languages (ISO 639) |
| Industry and statistical classifications | Economic activities (NACE in the EU, NAICS in North America), product classifications |
| Regulatory code lists | Values prescribed by regulatory reporting frameworks |
| Internal business classifications | Product categories, customer segments, sales channels, regions |
| Statuses and types | Order status, account type, contract type, reason codes |
| Units and calendars | Units of measure, fiscal periods, holiday calendars |
Reference data and master data
| Reference data | Master data | |
|---|---|---|
| Purpose | Classifies and categorizes other data | Identifies the business entities transactions refer to |
| Examples | Country, currency, customer segment, order status | Customer, product, supplier, employee |
| Size | Small lists | Thousands to millions of records |
| Change | Rare, controlled, often in versions | Continuous, record by record |
| Source | Often external standards, otherwise internal decisions | Created by business processes |
| Main problem | Inconsistent lists and meanings | Duplicate and conflicting records |
The two are closely related, and DAMA-DMBOK treats them as one knowledge area. Master data records use reference data (a customer has a country and a segment), and some lists sit on the boundary: a list of branches or legal entities is reference data to most systems and master data to a few. See the guide to master data management.
Why reference data needs managing
Reference data looks simple, which is why it is often neglected:
- Copies drift. The same list exists in ten systems, each updated at a different time, so a new value works in one system and is rejected by another.
- The same code means different things. Status
Cmeans closed in one system and cancelled in another, and reports that combine them are wrong. - Values are hard-coded. Codes written into application code or report logic have to be found and changed by hand.
- Values are deleted. A code removed from a list while historical records still use it breaks reports and history.
- Values are unmapped. Integrations fail, or silently put records into “other”, when a code in one system has no equivalent in another.
Because reference data is used to group and filter, an error in a single code can change many reports at once.
Good practice
Give every list an owner
Each code list needs a data owner who approves changes and a steward who maintains it. For external standards, the owner decides which version is used and when updates are adopted. See data governance roles.
Define every value
A code without a definition invites different interpretations. Record for each value its code, its name, a definition where the name is not self-explanatory, and its place in the hierarchy if the list has one.
Control changes
A change to reference data affects every system and report that uses it. A simple process works best:
- a request for a new value, a change or a retirement, with its reason;
- a review by the steward, including an impact analysis of which systems, columns and reports use the list;
- approval by the owner;
- publication to the systems that use the list, with an effective date;
- a notice to the people who maintain those systems and reports.
Version, do not overwrite
Historical data must stay interpretable. Instead of changing or deleting values:
- give each value a valid from and a valid to date;
- retire values instead of deleting them, so that old records keep their meaning;
- never reuse a retired code for a different meaning;
- keep versions of external standards, and record which version each system uses.
Map between lists
Where systems must keep their own codes, maintain mappings, also called crosswalks, between each system’s list and the reference list. A mapping records which local code corresponds to which reference value, including many-to-one cases, and is versioned like the lists themselves. Mappings are what make integration and consolidated reporting possible.
Publish from one place
Distribute reference data from a single managed source: a service that systems query, a publication they subscribe to, or scheduled files. Whatever the mechanism, systems should take reference data from the managed source instead of maintaining their own copies.
Link lists to the data that uses them
Record which columns, attributes and business terms take their values from each list. This makes impact analysis possible before a change, and allows a simple validity check: every value in the column must be in the list. See data quality dimensions.
Measuring reference data management
- the share of code lists with an owner and a steward;
- the share of coded columns that are linked to a managed list;
- values in use that are not in the reference list;
- mappings with unmapped values;
- the time from an approved change to its use in every system that needs it.
Common mistakes
- Treating reference data as an IT detail. Categories such as customer segments are business decisions and need business owners.
- Hard-coding values. Every hard-coded list is a copy that will not be updated.
- Deleting or reusing codes. Both destroy the meaning of historical data.
- Many local copies. Each copy drifts. Consolidate them, or at least map them.
- No definitions. Codes with only short names are interpreted differently by different teams.
- Ignoring external updates. International and regulatory lists change; someone has to follow the changes and decide when to adopt them.
Frequently asked questions
What is the difference between reference data and master data?
Reference data is the set of allowed values used to classify other data, such as country codes, currencies and status codes. Master data describes the core business entities that transactions refer to, such as customers, products and suppliers. Reference data lists are small and change rarely; master data is larger and changes continuously.
What are examples of reference data?
Country codes (ISO 3166), currency codes (ISO 4217), language codes (ISO 639), industry classifications such as NACE, units of measure, and internal lists such as product categories, customer segments, order statuses and account types.
Should we use international standard codes or our own?
Use international standards wherever they exist and fit, such as the ISO codes for countries and currencies: they make integration with partners and regulators easier. Use internal lists for classifications specific to your business, and map between internal and external lists where you need both.
How should reference data be versioned?
Give every value valid-from and valid-to dates, retire values instead of deleting them, never reuse a code for a new meaning, and record which version of an external standard each system uses. This keeps historical data interpretable and makes changes traceable.
Who should own reference data?
The business area that decides on the classification. Customer segments belong to whoever defines the segmentation, product categories to product management. For external standards, an owner decides which version applies and when updates are adopted.