Skip to main content

Journal

When the dashboard and the spreadsheet disagree

18 July 2026

←→AI EngineeringBest PracticesAutomation

July 2026 · AI Engineering · 7 min read


At the start of July I asked Claude to help me build a dashboard for my day job. Its purpose is simple to describe: show, for every service we offer, whether the documents a salesperson needs actually exist. Is there a datasheet? A contract schedule? A presentation? If the answer is no, the service isn't really ready to sell, whatever anyone says in a meeting.

The data already existed: a register of services, kept as a SharePoint list that everyone treats like a spreadsheet, with a column for each document and a completeness score.

The first version came together quickly. It looked finished. It had a health map, a sortable matrix of services against documents, and readiness tiers in our brand colours.

Then I fed it the real register, and it disagreed with the register's own score on the large majority of services.

A disagreement is a question, not a verdict

It would have been easy to assume the dashboard was wrong. It was the new thing, written by an AI; the register was the established system everyone used.

That assumption would have been a mistake. When two systems disagree, you don't yet know which one is broken. Often it's both. Sometimes it's neither, and the disagreement is telling you that two people meant different things by the same word.

So instead of tweaking the dashboard until its numbers looked right, I asked Claude to treat every disagreement as a question and chase each one to a cause. Over one long day, they turned out to have six different causes.

What looked like a disagreement What it actually was
Scores that kept changing back An automated flow overwriting people's corrections every few minutes
Strange text in some cells The same flow writing raw system data into fields meant for a simple choice
Services scoring 100% with documents missing The register's own formula left out two of the nine document types
My dashboard's maths, briefly Claude misreading what "No" meant in the register
A score one point out Rounding
Columns that appeared blank A display setting. The data was there all along

The register was the bigger problem

The biggest surprise was how much of the trouble sat in the source, not in the dashboard.

The register had an automated flow attached to it, meant to copy one score from one column to another. It was quietly doing far more than that. It was rewriting other fields on every run, taking one of them from the wrong column entirely, which is why manual corrections kept reverting within minutes. It was also triggering itself, so it ran in bursts. With Claude's help I stopped it, cut it down to the single field it was meant to touch, checked the change, and restarted it. Then the corrections stuck.

The register's own score formula had a gap too. It only counted seven of the nine documents it was supposed to check, which is why a couple of services looked complete when they weren't.

The register looked fine on its own. It took a second, independent calculation to show that it wasn't.

The AI got one wrong, confidently

I want to be honest about the fourth row in that table.

Each document in the register has a "required" field with three possible values. Claude read "No" as "not required". It audited the register's formula on that basis and told me, clearly and confidently, that the formula was counting things it shouldn't.

It was wrong. In our register, "No" means "required, but not created yet". It's the red cross that tells you something is missing. I knew that because I know how the list is used. Claude couldn't have known it from the data alone.

When I explained, Claude withdrew the point and corrected its calculation in minutes. But if I'd accepted the first audit, I'd have "fixed" a formula that was right, and the dashboard would have agreed with a broken register.

That's the part that stays with me. AI is very good at spotting patterns in data. It can't know what your organisation means by the data unless someone tells it. That meaning has to come from a person.

Twelve and a half

The smallest bug was my favourite.

A score that the register showed as 13 came out as 12 on the dashboard. Same inputs, same formula. The cause was rounding. The underlying number was exactly 12.5. SharePoint rounds halves up, so it shows 13. Python's built-in round() rounds exact halves to the nearest even number, so it gave 12.

Neither is wrong. They're different conventions. But a dashboard that is one point out on a single service is a dashboard nobody fully trusts, and you can't tell a rounding difference from a real error until you've looked. We changed the dashboard to round the way the register does, with a comment saying why.

Zero disagreements as the finish line

The reconciliation loop: export, check links, transform, compare, and only publish when nothing disagrees

By the end of that day, after the flow fix, the formula fix and a manual tidy-up of the damaged cells, a fresh export of the register and the dashboard's own calculation agreed on every single service. Zero disagreements.

The honest picture was better than the broken one: far more of the portfolio was ready to sell than the corrupted numbers had suggested. Bad data can make things look worse than they are, too.

"Zero disagreements" is now the acceptance test, not a one-off result. Every time the dashboard is refreshed, it recalculates every score from the raw data and compares it with the register's own. If they don't match, that's a question to answer before anything is published.

Checking the links, not just the ticks

The next day I added one more check. A document counts as created when its link is filled in. But a filled-in link isn't the same as a correct link.

Claude wrote a short script that reads every link in the register and looks for copy-paste mistakes: a file that names a different service from the row it's on, a datasheet sitting in the presentation column, a file extension with a typo in it. It knows our naming conventions, so it reports real problems rather than noise. When we ran it against the previous export, it found exactly two real errors and nothing else. Both were fixed in the register, and the next run came back clean.

The script fails loudly when it finds something, so it can sit in front of an automated refresh and stop it. The monthly routine is now: export, check the links, transform, compare, publish.

Asking for less access

One last thing, because it's easy to skip.

To automate the export, the dashboard needs programmatic access to the register. The first access request I drafted with Claude asked for broad permission to manage SharePoint sites. It was convenient, and it would have worked.

Testing showed that route wouldn't work in our environment anyway, which forced a rethink. The second request asked for access to one named site only. Then we narrowed it again, to read-only. The register sits on the site where our published documents live, and the dashboard only ever needs to read it. Anything that needs to write can live somewhere else.

It's a small change on paper. But when an AI helps you build something quickly, it tends to reach for whatever makes the build easy. Scoping the build to what it actually needs, whether that's data, permissions or trust, is still a human job.

What I'd tell anyone building one

An AI-built dashboard is only as good as its agreement with the source of truth. It will look finished long before it's right, and looking finished is the dangerous part.

So reconcile it. Recalculate from the raw data, compare with what the source already says, and chase every difference to a cause. Some will be the dashboard's fault, some the source's, and some will be two people meaning different things by the same word. Don't publish until the count is zero.

Pretty is easy now. Agreement is the part you have to check.


Posted by Envision8 · envision8.com

If something here is useful, or you'd like to talk about building with AI, I'd be glad to hear from you.

Get in touch