Case study · Luxury

Global media reporting
for more than 400 users.

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.

LuxuryLookerLookMLdbtBigQuery
More than 400active users of the reporting
More than 400documentation sheets, one per field
3audiences served: head office, markets, agencies

THE CONTEXT

Three audiences, one reporting.

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

Hand-written documentation does not hold.

01

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.

02

Gaps that nothing flags.

Hand-kept documentation ends up no longer matching the SQL. Correcting it once does not guarantee the gap will not come back.

03

More than 400 fields to maintain.

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 comes out of the code, and the code checks it.

01

Dashboards for each audience.

Media budgets, campaign tracking, performance: head office, markets and agencies work on the same data, modelled with dbt in BigQuery.

02

A generated sheet per field.

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.

03

A check that blocks.

Before each release, a check compares the documentation with the SQL. If the two no longer match, the release is refused.

THE STACK

Looker on top of dbt.

Data warehouse
Transformation
dbtSQL
Reporting
LookerLookML
Documentation
Generated from dbt and LookMLCheck before release

WHAT IT CHANGES

A definition that is up to date by construction.

  • Every field has its sheet, more than 400 in all, readable by a business user.
  • The sheet follows the calculation: it is regenerated at every run, not when someone remembers.
  • Wrong documentation no longer goes live: the check stops it first.
  • Head office, markets and agencies read the same definitions, which avoids debating the figure before debating the campaign.
  • A prerequisite for AI: an agent that cannot find a field’s definition makes one up. Reliable written documentation is the first of our rules for AI agents.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

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