Platform how-to

Name your columns plainly and export the lookup tables, so a code like 3 still means something next month

A file full of codes only makes sense to the system that wrote it. Plain column names and the small tables that explain the codes turn an export into something anyone can read and connect.

Storek team4 min read

Chat card: a dark bubble asks how many tickets are waiting on the customer; ticks show status codes joined to their exported labels, and the answer says 88, beside bars of tickets by status.
Sample dataStatus codes turned into plain labels before counting. Illustrative data.

Tomás manages the support team at Halden Home Services, a company that sends technicians out to fix boilers and heating systems. His manager asked a fair question: how many tickets are stuck waiting on the customer, and does that differ by region?

Tomás exported the ticket list. It had columns called st, rg_cd, pri and fld7. The status column was full of numbers from 1 to 5. The region column had codes like N2 and SW. He knew some of them from memory. He was fairly sure 2 meant “waiting on customer”, but he was not certain, and his manager was going to show the answer to the board.

The export held every fact he needed. What it lacked were the two small things that make an export readable: plain column names and the lists that explain the codes.

Before and after

Here are three rows of Halden’s ticket export as it came out of the system, and the same rows after a little preparation.

strg_cdprifld7
2N2H2026-10-03
4SWL2026-10-04
3N2H2026-10-04
Sample dataAs exported. Every value is correct, and almost none of it can be read without help.
StatusRegionPriorityOpened on
Waiting on customerNorth (Leeds depot)High2026-10-03
ResolvedSouth WestLow2026-10-04
EscalatedNorth (Leeds depot)High2026-10-04
Sample dataThe same rows with plain column names and the codes replaced by their meanings from the lookup tables.

Nothing about the facts changed. The second table can be read by anyone, compared with other files, and handed to the board without a phone call to the one person who remembers what fld7 was.

Five tips for exports that explain themselves

  1. Rename columns to what a newcomer would call them

    Imagine someone who joined last week opening the file. They would say “status”, “region”, “opened on”. Use those words. Spell things out, avoid internal abbreviations, and include the unit where it matters, such as “Amount (EUR, excl. tax)”.

  2. Export the lookup tables alongside the main file

    For every coded column, find the list that explains it: statuses, regions, product categories, reason codes. Export each as its own small file with two columns, the code and its meaning. Keep them in the same folder as the main export so they travel together.

  3. Keep the code as well as the label

    When you add the meaning, do not throw the code away. Codes are steadier than labels: someone may rename “Escalated” to “Needs review” next year, but code 3 stays 3. Keeping both lets you match old and new files and still read the result.

  4. Date your lookup lists

    Lookup lists change. A new region opens, an old status is retired. Put the date in the file name, such as ticket-statuses-2026-11.csv. When numbers look odd later, you can tell whether a code meant something different at the time.

  5. Note the columns you could not explain

    Every export has a mystery column or two. Rather than deleting them or guessing, write a short note: “fld7 appears to be the date opened; not confirmed”. An honest gap is much safer than a confident wrong label.

How the pieces connect

Once the lookup tables sit next to the main export, the connection between them is simple: each code column points at the list that explains it.

ticketsticket_idstatusregionprioritystatusescodemeaningregionscoderegion_namedepotprioritiescodemeaningstatusregionpriority
Sample dataEach coded column in the ticket export points at a small lookup table. With those tables exported, every code has a meaning.

The answer Tomás could stand behind

With the status list exported, Tomás confirmed that 2 really did mean “waiting on customer”. He also found something he had not expected: code 5, which he had assumed was “closed”, actually meant “closed, no reply from customer”. Those tickets belonged in the board’s question too. The chart at the top of this page shows the kind of view he ended up with, using invented numbers.

It took him an afternoon to set up plain names and the lookup files once. Since then, every monthly export lands in the same folder with its lists beside it, and nobody has to remember what fld7 meant.

How Storek helps

When you add an export and its lookup tables to Storek, it notices that a column of codes in one file matches the code column of a small two-column list, and connects them so answers show “Escalated” rather than 3. It reads cryptic headers by looking at the values underneath, and if a column could mean two things, it asks you instead of guessing. Plain names and exported lookups still make everything clearer, for Storek and for the people reading your reports.

Data loadingSemantic layerAccuracy

FAQ

Questions, answered.

What is a lookup table?

A small table that explains codes used elsewhere. One column holds the code, such as 3, and the next holds what it means, such as Escalated. Many systems store only the code in their main records and keep the meanings in a separate list.

My system will not export its lookup lists. What can I do?

Look for a settings or admin page that lists the options, such as statuses, regions or product categories, and copy that list into a two-column sheet. Even a hand-made list is far better than none, as long as you note the date you made it.

Should I rename columns in the source system or only in the export?

Usually only in the export or in your copy of it. Renaming fields inside a live system can break other reports that depend on them. Keep a short note of which plain name maps to which original name.

Do plain column names matter if the values are right?

Yes. A column called amt_2 could be net, gross, tax or a discount. A plain name tells the next reader, and any tool trying to connect files, what the numbers are without guessing.

Book a demo

See your own data, delivered.

30 minutes. Your data or our sample. No slide deck. Pick a time straight after the form.