Two people pull “revenue for March” and get two different numbers. Usually neither is wrong: one included refunds and the other didn’t, or one used order date and the other payment date. A data dictionary prevents this. It is a single, shared document that says what every field in your data means, so every report starts from the same definitions.
It doesn’t need special software. A spreadsheet works, and you can start from our free template.
What a data dictionary contains
One row per field, with these columns:
| Column | What it holds | Why it matters |
|---|---|---|
| table and column | Where the field lives | So people can find it |
| description | What the field means in business terms, including what it excludes | This is the column that prevents most arguments |
| data_type | Integer, decimal, date, text… | Stops dates being stored as text and sums going wrong |
| allowed_values | The valid set or range | The basis for automated validity checks |
| example | One realistic value | Makes the description concrete |
| nullable | Whether the field may be empty | The basis for completeness checks |
| source_system | Where the value comes from | Tells you where to look when it’s wrong |
| owner | The team that answers questions about it | Someone has to keep it right |
| contains_personal_data | Whether it identifies a person | For privacy rules and access control |
| last_reviewed | When the row was last checked | Shows which definitions may be stale |
A worked example: an orders table
Here is how three fields of a typical orders table look when they’re defined properly:
| column | description | allowed_values | owner |
|---|---|---|---|
| order_date | Date the order was placed, in the shop’s local time zone | YYYY-MM-DD | Operations |
| amount | Order total charged, after discounts, before refunds, in the shop’s currency | ≥ 0 | Finance |
| status | Where the order is in fulfilment | pending, paid, shipped, refunded | Operations |
Look at the amount description: “after discounts, before refunds”. That one clause settles the March revenue argument above. A description like “the order amount” settles nothing.
How to write good descriptions
- Say what it means, not what it’s called. “Customer ID” isn’t a description. “The customer who placed the order; matches
customers.customer_id” is. - State what’s excluded. Refunds, test orders, internal accounts, cancelled items: say whether they’re in or out.
- Name the time basis. Order date or payment date? Local time or UTC? Mismatched dates are a common reason two reports disagree.
- Name the unit and currency. “Amount” in which currency, with or without tax?
- Point to related fields. If a field matches another table’s key, say so.
Start small
Don’t try to document the whole database. Start with the fields behind your most important number, the one at the top of your KPI tree, and work outward. For most small businesses that’s a dozen fields across two or three tables, and an afternoon’s work.
Then put the dictionary to work:
- Link it from every dashboard, so anyone can check what a number means.
- Turn the allowed values and nullable columns into automated checks. Our six data-quality checks show how, and they’re also a downloadable SQL file.
- Review it on a schedule. Each owner checks their rows once a quarter and updates
last_reviewed. A definition nobody has looked at for a year should be treated as suspect.
The template
The CSV template has all eleven columns and eight example rows for an orders and customers table, including a personal-data field (email) flagged as such. Open it in any spreadsheet, replace the examples with your own fields, and keep it somewhere everyone can read it.
If you’re also deciding which numbers to define first, see Which Metrics Should a Small Business Track?
Prepared with AI assistance and reviewed by an editor before publication. Editorial & AI policy.