The SQL changes, the sheet stays.
A definition written separately is not updated when the calculation evolves. A few changes later, it describes a field that no longer exists in that form.
Case study · Luxury
The head office, the markets and the agencies of a luxury maison read their campaigns in the same tool. Every field has its definition there, generated from the code and checked before each release.
THE CONTEXT
The maison’s media reporting serves three audiences: head office, markets and agencies. All of them read media budgets, campaign tracking and campaign performance in it, in Looker.
At this scale, more than 400 active users, the difficulty is no longer producing a dashboard. It is making sure everyone understands the same thing when looking at the same figure. One badly described field, and two markets draw two different conclusions from the same campaign.
We have supported the maison on this reporting since 2021. The work is as much about governance and documentation as about the dashboards themselves.
WHAT WAS IN THE WAY
A definition written separately is not updated when the calculation evolves. A few changes later, it describes a field that no longer exists in that form.
Hand-kept documentation ends up no longer matching the SQL. Correcting it once does not guarantee the gap will not come back.
At that volume, nobody rereads everything at each release. The check has to be done by a machine, every time.
WHAT WE BUILT
The documentation for each field is produced automatically from dbt and LookML, at every run. It is made by code, without a language model: that is the principle of docs-as-code.
Before each release, a check compares the documentation with the SQL. If the two no longer match, the release is refused.
WHAT IT CHANGES
READ NEXT
WHAT COMES NEXT, WE BUILD TOGETHER
An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.
Let’s talk about your project