The logical layer that lets a half-migrated roll-up still answer one question consistently — model once, federate the data, generate insights anyway.
Triveni can't wait for every mill and export desk to migrate to SAP before it gets answers. The fix isn't one warehouse — it's a shared ontology (so everyone means the same thing) over a data mesh (each segment owns its data as a product), with a semantic layer that federates them. Insights generate today; they just carry a confidence flag where a segment isn't on SAP yet.
Ten classes everything maps to. The Site / Mill is the keystone: it's where segment, leader, entity and geography reconcile.
71% of revenue is already site-grain actual; the rest is read in place from legacy site/export systems and reconciled — no big-bang migration required.
Every metric has one definition and a grain. The layer federates it across on-SAP and legacy domains, flagging where a value is allocated.
| Metric | Definition | Grain | How it federates across segments |
|---|---|---|---|
| Revenue | Σ recognized revenue | site · order | actuals where on SAP; allocated from area where not |
| Adjusted EBITDA | revenue − COGS − SG&A (+ add-backs) | segment · entity | entity P&L normalized to one chart of accounts |
| Non-sugar (ethanol & eng.) revenue | annuity-like contract revenue | contract | from SAP SD / SCADA across all segments |
| Non-sugar mix | non-sugar ÷ revenue | segment | federated — same formula, many sources |
| DSO | AR ÷ revenue × 365 | entity · site | legacy/export entities measured at area grain, flagged |
| Gross margin | (revenue − COGS) ÷ revenue | order · segment | mapped via canonical cost categories |
| Repeat-offtake rate | expansion − attrition on base | customer / OMC | resolved across duplicate customer records |
Entity resolution matches legacy site / segment / group-company codes to one canonical node — so the distillery data lines up with everything else.
Query reads each segment's data product in place; the semantic layer maps native SAP/SCADA fields to canonical metrics.
Where a segment reports at area level, allocation disaggregates to site on learned drivers and marks it an estimate with a confidence band.
Allocated parts must tie back to the source total; anomalies and duplicate customer/OMC records & suppliers across segments are surfaced.
This is not theoretical — it's how this cockpit already works. The Story, Briefing and 360 views read the same governed metrics over on-SAP and legacy segments alike; 71% of the numbers are site-grain actuals and the balance is SAP-allocated and labelled. As each segment migrates to SAP, its data product's grain rises and estimates flip to actuals — the mesh closes itself.