Your AI is only as good as the data underneath it.
When an AI project disappoints, the first instinct is to blame the model. Try a bigger one, rework the prompt, add more context. Sometimes that helps. More often, the real problem sits a layer down: the data the system reads is inconsistent, stale or simply wrong.
An assistant that answers "What was revenue last quarter?" with a different number from the finance dashboard isn't hallucinating. It found a second definition of revenue, and nobody had decided which one is true.
The symptoms
- AI answers that contradict your own reports.
- Agents that cite last year's policy because the old document is still in the index.
- Teams arguing about whose number is right before they can discuss what to do about it.
- Pilots that work on a clean sample and fall apart on real data.
Each of these is a data problem wearing an AI costume.
Four foundations to put in place first
1. One definition per metric
Decide what "active customer", "revenue" and "churn" mean, write each definition down once, and make every report and every AI tool read from it. A semantic layer, or a well-governed set of models in your warehouse, does this job. Without it, AI faithfully reproduces your disagreements.
2. Freshness and lineage you can see
Every important table should say when it was last updated and where it came from. When an answer looks wrong, someone needs to trace it back in minutes, not days.
3. Access that matches your intentions
An AI assistant will happily read anything it's allowed to. Row-level permissions, masking of personal data and a clear line between internal and customer-facing sources have to be designed before the assistant goes live, not patched after an awkward answer.
4. Tests on data, not just code
Pipelines break quietly. Checks for missing values, duplicates, unexpected spikes and schema changes should run on every load, the way unit tests run on every commit, and they should alert a person when they fail.
A quick self-check
Before your next AI initiative, ask five questions:
- Is there one agreed definition for each metric the AI will use?
- Can we tell how fresh each source is?
- Do we know exactly what the AI is allowed to read?
- Do our pipelines fail loudly when the data goes wrong?
- Could someone trace a surprising answer back to its source today?
Two or more "no" answers means the data work comes first. That isn't a delay. It's what makes the AI work worth doing.
Fix the slice the use case needs, not the whole warehouse.
Don't boil the ocean
You don't need a two-year data program before you can use AI. Start from one use case, identify the handful of sources and metrics it depends on, and bring just that slice up to standard. The next use case reuses most of it. Data foundations built this way compound, and each AI project lands faster than the last.