[ the lab · free power bi project ]

Cacao & Co.: a Power BI sales cockpit built spec-first

Cacao & Co. is an invented premium chocolate maker that sells through its web shop, twelve stores and sixty wholesale accounts. I built its sales cockpit to answer the questions a sales lead asks every month: how did we do, how good was it, why, and what do we do about it. Against Budget or last year, in dollars, euros or Swiss francs.

Power BI PBIP TMDL DAX Claude Code

November 2026 · built over a long weekend · free download

Download the ZIP → Browse on GitHub
The Cockpit page, year to date through November 2026 against Budget: Net Sales $34.5M (−1.4%), Gross Margin 50.7% (−0.5 pt), Variance −$478K and a Gap to Budget of $628K. Below, monthly variance bars, then the Channel × Category rows furthest behind Budget, led by Wholesale · Gift Boxes at −17.5%, and the stores furthest behind, led by Cacao & Co. Fernbrook at −6.4%.
The Cockpit Year-to-date Net Sales, Gross Margin, Variance and the Gap to Budget, then month by month, then what drove it. Every chart title states its finding.

What the report shows

  • Cockpit. Year-to-date Net Sales, Gross Margin, Variance and the Gap to Budget, month by month, with the Channel × Category combinations and the Stores or Accounts furthest behind or ahead.
  • Seasons. Six selling seasons, from Valentine's Day to Holiday, compared with last year day by day, so a late Easter does not look like a bad one.
  • Forecast. Where the year will land, how the outlook moved over eleven monthly Forecast Versions, and how accurate last year's Forecasts were.
  • Channel. Online, Retail and Wholesale week by week, with the Regions, Stores or Accounts that explain the result.

The data hides stories for the report to find: a store that opened mid-2025, a large wholesale account lost in 2026, a Valentine's week that beat last year online and missed in stores, and two product categories that broke away from Budget. Every number is synthetic and seeded, so anyone can regenerate it.

The Seasons page for Holiday 2026: Net Sales season-to-date $10.5M, +$554K or +5.6% against 2025 after 40 of 40 season days, with daily variance bars and the categories and channels that moved most. Truffles & Pralines grew most, +9.4%.
Seasons Holiday 2026 against 2025, season day by season day.
The Forecast page: full-year Budget $43.0M, Forecast 2026-F11 $42.4M, Gap to Budget $628K. A line shows the Forecast moving from $41.6M at 2026-F01 to $42.4M at 2026-F11, beside the accuracy of each 2025 Forecast Version, all within 0.9% of the final Actual.
Forecast How the outlook moved across eleven Forecast Versions, and how far to trust it.

How I built it

I built the project over a long weekend with Claude Code, working spec-first:

  1. A spec before any build. The business, the data, the model and the report are written down first. Every change starts in the spec.
  2. Rules that reject output. A short constitution: one home for every color, a description on every visible field, a business glossary used word for word.
  3. Decisions stay with a person. Claude looks up facts; I make the business calls. 44 questions were answered and recorded, 8 of them as decision records.
  4. Gates accept the work. A ticket passes on tests (54 data and structure tests, 14 DAX tests), report validation and a screenshot of the page in Power BI Desktop, not on anyone's opinion.
  5. Defects become rules. When review found a problem, such as a Budget split that drifted from the sales mix, the fix came with a test so it cannot return.

The project is a Power BI Project (PBIP): the report in PBIR and the model in TMDL, plain text files that Git can track and an agent can read and write.

Get it

The report

Unzip to C:\, open CacaoCockpit.pbip in Power BI Desktop and select Refresh.

CacaoCockpit-v1.0.zip →

How it was made

The spec, decision records, tests, skills and tickets behind the report.

github.com/wbiffi/cacao-cockpit →

Free to reuse with credit: code under MIT, report, model and data under CC BY 4.0.

Want a cockpit like this for your own numbers?

The same process works on real data: a spec your team agrees on, decisions on record, and tests that keep the numbers honest.

Work with me →