Usually, not in just one place.
In most regulated manufacturing environments, KPI formulas should be split by purpose rather than forced into ERP, MES, or a data warehouse by default. A practical pattern is:
So the short answer is: put KPI formulas where they can be executed reliably and governed consistently, which is often a combination of MES plus a governed analytics layer, not ERP alone.
A KPI formula usually belongs in the platform that best matches these constraints:
ERP is usually best for commercial and planning-oriented metrics tied to orders, inventory valuation, purchasing, financials, and promised dates. It is usually a poor place for high-frequency shop floor calculations because ERP data is often delayed, aggregated, or not granular enough.
MES is usually best for execution KPIs that depend on real production events, routing status, labor booking, machine states, genealogy, or in-process quality checks. MES can support immediate action, but it often becomes a problem if every site builds local KPI logic differently and no one governs definitions across plants.
Data warehouse, lakehouse, or semantic layer is usually best for enterprise reporting, cross-functional reconciliation, and a governed “official” KPI definition. This works well for board reporting, plant comparisons, and trend analysis. The tradeoff is that it depends heavily on integration quality, timestamp alignment, master data consistency, and stable mappings across ERP, MES, QMS, and other systems.
Another platform, such as a historian, industrial analytics tool, or event-processing layer, may be the right place for machine-derived KPIs, condition-based metrics, or near-real-time operational alerts. But these tools still need alignment with enterprise definitions if the same KPI appears in management reports.
In regulated and long-lifecycle environments, these failures matter because once a KPI is used for quality escalation, release decisions, supplier management, or executive review, undocumented formula drift creates avoidable audit and trust problems even if no regulation explicitly prescribes that KPI.
For most brownfield environments, a layered approach is more realistic than choosing a single system:
This is not as simple as centralizing everything in one stack, but full replacement strategies often fail in brownfield aerospace and similarly regulated environments. The qualification burden, downtime risk, integration complexity, validation effort, and long asset lifecycles usually make wholesale KPI standardization inside a single replacement platform slower and riskier than teams expect.
If you need one rule: ERP should rarely be the only home for KPI formulas, MES should not be the uncontrolled home for enterprise definitions, and the data warehouse should not invent metrics without disciplined source-system lineage.
The most robust answer is usually:
That approach is less elegant than a single-system answer, but in mixed-vendor plants it is usually more maintainable and more credible.
Whether you're managing 1 site or 100, Connect 981 adapts to your environment and scales with your needs—without the complexity of traditional systems.
Whether you're managing 1 site or 100, C-981 adapts to your environment and scales with your needs—without the complexity of traditional systems.