The bridge
Prior quarter gross profit to current quarter, one step per effect. Both grains end at the same -$80K; they disagree on why.
Item-level mix is split into four nested levels, each the mix it adds on top of the coarser one. Channel mix is the driver.
The product-line bridge has one mix line and books the installer shift inside its lines as a lower price.
Scale starts at $5.75M, not zero; the break in each total bar marks it. Every step is drawn to the same scale.
Both grains, line by line
| Effect on gross profit | Product line | Item level |
|---|---|---|
| Price (net of rebates, incl. tariff surcharges) | +$359K | +$856K |
| Tariff cost | -$1.07M | -$1.07M |
| Material and other cost | +$6K | $0 |
| Volume | +$215K | +$215K |
| Mix | +$453K | -$38K |
| Ledger-only items (variances, reserves, freight) | -$45K | -$45K |
| Change in gross profit | -$80K | -$80K |
Marked rows read differently at the two grains: when installer business grows inside a product line, the product-line bridge books the lower program price as a price cut.
Mix, split so the parts add up
| Mix level | Effect |
|---|---|
| Product mix | +$453K |
| Channel mix within product lines | -$540K |
| Customer mix within product line and channel | +$52K |
| SKU mix within the rest | -$2K |
| Item-level mix | -$38K |
Each level is the mix it adds on top of the coarser one, so the four rows sum to the item-level mix.
Tie-out
Nothing is decomposed until the extract ties to the general ledger, each quarter: revenue within $1, and gross profit within $1 after named, sized items that post only at the ledger. Anything left unexplained stops the bridge.
| Extract | Ledger | Difference | Status | |
|---|---|---|---|---|
| Prior quarter | ||||
| Revenue | $29.05M | $29.05M | $0 | Ties |
| Gross profit from invoice lines | $7.13M | |||
| less purchase price and manufacturing variances | ($189K) | |||
| less inventory and obsolescence reserve change | ($87K) | |||
| less inbound freight not in standard cost | ($135K) | |||
| Gross profit after named items | $6.72M | $6.72M | $0 | Ties |
| Current quarter | ||||
| Revenue | $31.44M | $31.44M | $0 | Ties |
| Gross profit from invoice lines | $7.10M | |||
| less purchase price and manufacturing variances | ($210K) | |||
| less inventory and obsolescence reserve change | ($97K) | |||
| less inbound freight not in standard cost | ($149K) | |||
| Gross profit after named items | $6.64M | $6.64M | $0 | Ties |
| The same check on a planted cut-off extract (separate test data) | ||||
| Current quarter gross profit after named items | -$178,158 | Break | ||
Rebates post as separate customer-level memos, so they are allocated to invoice lines by gross sales within each customer and month before any price is calculated. Order types map to channels, and units convert to eaches, from one definitions file finance owns.
What the driver finder flags
Channel mix masked
Installer (DIFM) share grew inside product lines at Retailers A and B, hidden under a favorable product mix of +$453K.
Price reattributed
Like-for-like price held up better than the product-line bridge shows (+$359K): it books the installer shift inside its lines as a price cut. Surcharges held.
Tariff cost
All of it on China-origin parts; surcharges recovered 80%.
Bad extracts stop the bridge
Five planted problems, each on its own test extract. Every one stops the bridge before a number is published.
| Planted problem | What the check says | Result |
|---|---|---|
| A new order type, XFR, that nobody added to the channel map | order type XFR on 40 lines ($484,024) has no channel | Stopped |
| Wipers sold in cases of twelve, a unit with no conversion | unit of measure CS12 on 240 lines ($1,501,878) has no conversion to eaches | Stopped |
| A rebate memo keyed to RETAILER B INC instead of Retailer B | rebate memo CM-RET-2026-07 ($191,448) names RETAILER B INC, not in the customer master | Stopped |
| An extract cut off in September while the ledger has the full month | extract does not tie to the ledger: current quarter gross profit off by -$178,158 | Stopped |
| An export that repeated a page of invoices | 30 invoice lines appear more than once | Stopped |
Go-live gate
25 planted scenarios (8 routine drivers, 8 hidden drivers, 6 bad extracts, 3 clean controls), scored with golive-gate. The gate: 24 of 25 overall, every hidden driver, every bad extract stopped, no false alarms, and zero critical failures (publishing on bad data, missing a planted data problem, or a bridge that does not tie).
The workbook's misses are mostly structural: a product-line view cannot name a customer or a channel, and without data checks it cannot name a bad extract. The cases were written on fixed data seeds; on seven seeds they were not written with, the tie-out passes 172 of 175 cases. CI runs the tests, this gate, and that sweep on every push.