The production manager asks for a dashboard. Finance already has three versions of the weekly efficiency figure, and none matches the number used on the floor. A software demonstration looks promising. Before buying it, the team needs to settle a more basic question: which decision will the new system help someone make?
A manufacturing analytics stack connects records to decisions. Someone captures an event, a system stores it, a model gives it meaning, and a report presents the result. A person then uses that result to act. Each step needs an owner. Buying the display does not complete the other work.
For a mid-sized factory, a sensible starting point is one useful report that now takes too long to prepare or causes repeated disputes. Build a reliable path for that report. The same path can support wider analytics as the factory's needs grow.
Understand the five layers of the stack
These five layers describe responsibilities. They do not require five separate products. A spreadsheet can serve several layers for a small task, while a larger design may use several systems within one layer.
Layer | Main job | Factory example |
|---|---|---|
Capture | Record what happened | Bundle scan, inspection entry or machine event |
Storage | Retain records in a usable form | Controlled files, reporting database or warehouse |
Modelling | Clean, join and define the data | Item mapping, shift calendar and metric logic |
Visualisation | Present the answer clearly | A shift report or management dashboard |
Decision | Turn the answer into action | Resolve a shortage, rebalance work or plan maintenance |
A wrong number can begin in any layer. The source may contain a duplicate scan. A join may double the output. A report may filter out one shift. A manager may compare two measures with different denominators. Trace the disputed result through the whole path before blaming the chart.
Start with the decision layer even though data flows in the other direction. Ask who will act, when they need the answer and what they can change. Those answers define the necessary detail and refresh rate. A weekly costing review rarely needs second-by-second updates.
Choose a first use case with a visible owner
A useful pilot has a known user, a repeated decision and accessible source records. A weekly line-efficiency report is one option. Others include tomorrow's material shortages or the main causes of repeated stops.
Avoid selecting the pilot only because the data is easy to display. A chart of total output may be simple but offer little help if the daily problem is incomplete size sets. The first report should answer a question that is already costing people time.
Write a short statement of the intended use. For example, the planning manager checks for missing material before releasing the line plan. The check covers the next two production days. The report needs order, material, available quantity, required quantity and expected receipt date. It does not yet need every supplier score or a prediction model.
Save a manual baseline. Record the preparation time, known errors, reporting delay and decisions made from it. That gives the team a fair way to judge whether automation helped.
Capture events with enough context
A count without context is difficult to use. A production event should identify the work, its location, the event time, quantity, unit and event type. Depending on the use case, it may also need a machine, shift, source system and unique event identifier.
GS1's explanation of EPCIS shows why event data needs the object, time, place and business context. A small factory need not adopt EPCIS for every internal tally. The underlying questions are still useful when designing a record.
Barcode and QR scans reduce some manual entry, but they depend on sound labels and the correct scan point. Manual entry can be adequate when the format is clear and someone checks it. Machine logs reduce typing, yet a machine signal still needs an agreed meaning. A stopped motor does not explain whether the cause was a breakdown, no work or a planned changeover.
Use separate fields for event time and entry time when records may arrive late. Agree how an overnight shift is assigned to a production date. Record the time zone as well as the date and time. This helps staff compare records from different sites.
An offline scanner also needs a safe way to resend queued records. Give each event a stable identifier so a retry does not create a second production count. Retain corrections as traceable changes rather than silently replacing the original evidence.
Protect production while collecting its data
Ask the equipment and ERP vendors how you can read their data. Options may include exports, application interfaces or read-only access. Test the method on a small scope before adding frequent queries. A screen that shows a number does not prove there is a supported way to extract it.
Production control systems have reliability and safety needs beyond ordinary office reporting. NIST's Guide to Operational Technology Security addresses those differences. Agree access and transfer arrangements with the people responsible for the equipment. An analytics project should not make machine operation depend on a dashboard service.
Limit the pilot to the data it needs. A report may need total labour minutes for a team. It may have no need for payroll details or personal records. Set access rights for each role: viewer, report builder or administrator. Test what each user can see and change.
A manual export may be a reasonable bridge. Name its owner, define its checks and set a review date. Otherwise, a temporary step can become an unrecorded daily obligation for one person.
Pick storage that the team can support
Storage choice depends on data volume, joins, editing rights, history and recovery needs. User count alone is a poor rule. A workbook for fifty viewers may be easy to manage, while one shared by five uncontrolled editors may be unreliable.
Option | Useful when | Support work that remains |
|---|---|---|
Controlled spreadsheet and exports | One bounded task has modest data and a clear owner | File rights, validation, refresh checks and backups |
SQL reporting database | Several sources need repeatable joins and shared logic | Loads, schema changes, access and recovery |
Warehouse and transformation layer | History, scale or broad analysis justifies the design | Cost control, model ownership and ongoing operations |
These options can coexist. A spreadsheet can remain a useful output even when a database holds the records. A warehouse is also not a compulsory step for every site. AWS's manufacturing analytics architecture illustrates a broader design with several services and optional components. It is a vendor architecture to evaluate, not a minimum shopping list.
Heavy reports can place a load on the source system. Where needed, run them on a reporting copy so they do not disrupt production. Retain raw extracts long enough to reproduce the agreed reporting periods. Then define backup, retention and restore procedures around the business need.
A backup that has never been restored leaves an unanswered question. Include one recovery exercise in the pilot acceptance work. Check that the report can be rebuilt and that its definitions and mappings return with the data.
Make the row meaning explicit before joining tables
The grain of a table is what one row represents. It might be one bundle completion, one inspection, one order line or one machine-minute. Two tables with the same item code can still have very different grains.
Microsoft's star-schema guidance distinguishes fact tables from the descriptive tables used to filter them. It also stresses a consistent grain. In a factory, the facts might be production events. Style, machine and date details help explain them.
Consider two production rows. Item A has 100 pieces and item B has 60 pieces. The total is 160. If the mapping table contains two active matches for A, a careless join produces 100, 100 and 60. The reported total becomes 260, an inflation of 62.5%.
The chart may look entirely reasonable. The error exists before any chart is drawn. Compare row counts and quantity totals before and after a join. Investigate unmatched codes and multiple matches separately.
Use a mapping table with a source system, source code, agreed business code, valid-from date and valid-to date where needed. Give it a named owner. A code reused for a new style should not rewrite the meaning of last year's production.
PostgreSQL's constraint documentation explains database controls such as unique keys, required values and foreign keys. These controls can block some invalid records. The team must still judge whether each business mapping is correct.
Define each metric before presenting it
A metric catalogue can begin as a short controlled table. Each measure needs a name, purpose, formula, unit, source, owner, time scope and refresh plan. Include exclusions, treatment of corrections and the way totals are formed.
For line efficiency, agree what counts as earned minutes and available labour minutes. State whether helpers are included and how overtime is treated. If the standard minute value changes, specify which version applies to each production record.

Percentages usually need careful aggregation. Suppose one line earns 3,600 minutes from 6,000 available minutes, giving 60% efficiency. Another earns 1,600 from 2,000, giving 80%. Their simple average is 70%, but the combined result is:
Combined efficiency = (3,600 + 1,600) ÷ (6,000 + 2,000) × 100 = 65%.
The correct combined result follows the agreed numerator and denominator. Averaging the two displayed percentages gives equal weight to unequal amounts of work.
Similarly, a downtime category error does not always change total downtime. Moving minutes from “no work” to “breakdown” changes those categories. It changes a report's total only if its filters or definition include the categories differently.
Imagine a 1,400-worker knitwear factory where two reports differ by six to nine percentage points. This is an illustrative case, not a measured field result. Before rebuilding the dashboard, compare category rules, included lines and time denominators. The difference may come from several small choices rather than one faulty software tool.
Link each catalogue version to the calculation used in the report. A definition stored in a document is of little help if a hidden formula has changed. The same discipline supports factory KPI dashboard design and makes discussions about performance more productive.
Add a small set of useful data checks
Start with checks tied to plausible failures. Unique event identifiers catch duplicate loads. Required fields catch missing dates or quantities. Accepted category lists catch a new downtime label that no report recognises. Relationship checks catch production codes missing from the item map.
These are also the common patterns described in dbt's data-test documentation. A factory can build these checks in SQL or another suitable tool. Whether to adopt a framework is a separate choice.
Check | Example failure | Response |
|---|---|---|
Freshness | Last night's export did not arrive | Show the last successful data time and alert the owner |
Completeness | One line has no shift records | Confirm whether it was idle or the feed failed |
Uniqueness | A scanner resends the same event | Prevent double counting and investigate the retry |
Relationship | A new style has no item mapping | Hold or flag the affected total until mapped |
Reconciliation | Source output differs from loaded output | Trace the difference before release |
Do not convert missing data to zero merely to keep the chart green. Zero output and unknown output require different responses. A clear stale-data message is more useful than a fresh-looking number based on yesterday's records.
Some late corrections are legitimate. Agree a reporting close date and a policy for restating prior periods. Keep enough evidence to explain why a number changed after the first publication.
Assess progress by capability
The stages below are a planning aid, not a formal maturity standard. A site may have a strong finance report and weak production capture at the same time.
Stage | Evidence of current capability | Practical next step |
|---|---|---|
Fragmented | Paper, machine screens and separate files | Create one owned pilot data path |
Consolidated | A repeatable report has a known owner | Fix mappings and assess the growing join workload |
Structured | Loads and metric definitions are controlled | Build useful views and monitor failures |
Integrated | Shared data supports daily decisions | Improve history, scale and support where needed |
Predictive | Models are tested against a clear baseline | Monitor performance and the decisions they change |
A warehouse contract does not prove integration. Two analysts do not prove predictive ability. Look for repeatable operation, clear definitions and evidence that users can act on the results.
Before a forecast pilot, create a consistent sales history with dates, items and units. Then test the forecast on later periods, as described in exponential smoothing for apparel demand planning. Clean data is necessary, but forecast quality still needs its own test.
The same applies to predicting dyeing recipe cost with regression. A sound batch history supports the model. Its results on a new shade or process still need to be checked.
Compare buy and build choices on the whole job
A vendor may supply connectors, storage, transformation tools and dashboards. An internal team may build the mappings and report logic. A partner may handle the initial setup. Those arrangements can all work if responsibilities are explicit.
Ask each proposal to cover the same use case and support period. Include data access, capture repair, mapping, user training, monitoring, backups and change requests. A lower software fee can be outweighed by manual work that remains outside the proposal.
Viewer access also matters. Identify who needs to view, edit, publish or administer reports. Compare current per-user, capacity and self-hosted terms where relevant. Include hosting and support in the latter option. Pricing and licence rules change, so use a dated vendor quote for the actual decision.
Keep an internal owner for business definitions even when development is outsourced. The supplier can implement a downtime rule, but the factory must decide what that rule means. Require handover of mappings, calculation logic, access arrangements and operating instructions.
Test the product with representative factory data. Include a missing shift, a corrected quantity and a new item code. A demonstration using only clean records leaves the hard part of daily operation untested.
Use the first 90 days to establish a working pattern
The schedule below is illustrative. Thirteen weeks is roughly ninety days, and some tasks may overlap.
Weeks 1–2: agree the decision and baseline. Choose the pilot report, name its owner and list the sources. Define the metric and its exclusions before automating the current calculation.
Weeks 3–4: repair the necessary data path. Resolve the important item mappings, timestamp rules and duplicate records. Confirm supported access to each source and document the manual steps that remain.
Weeks 5–7: automate and reconcile. Build the load and calculation, then compare totals with source records. Make failure visible. Test a rerun so that retrying yesterday's load does not duplicate it.
Weeks 8–10: use the report in real meetings. Watch how staff interpret it and record actions taken. Expand the catalogue with the next disputed measure. Change the display when it hides information needed for a decision.
Weeks 11–13: review operation and next investment. Assess preparation time, reliability, user access and support cost. Choose the next tool or use case from that evidence. Include a recovery check and a handover to the person who will maintain it.
Suppose preparation falls from six hours to one and a half hours per week. That releases 4.5 hours weekly, or 216 hours over 48 reporting weeks. At an illustrative internal rate of USD 8 per hour, the capacity value is USD 1,728. It is not automatically a cash saving. Count it as reduced expense only if spending falls. If it does not, explain how the team will use the freed time.
Decide what to build next from the evidence
Before widening the project, test a normal week of work. Can the pilot run without its developer watching every load? Someone should know how to identify a stale report, correct a mapping and restore the agreed data path.
The next step may be another source, better capture or wider viewer access. It may also be a database if the workbook has become hard to control. Choose the change that removes the current limit.
A useful manufacturing analytics stack lets staff trace a disputed number to its source. It helps them make a repeated decision. Success means less time spent matching files and more time spent solving the production issue they reveal.
The first dashboards are usually operational and supply-chain ones, so see the supply chain KPI dashboard and the operations dashboard, and check the data first with energy meter data validation.







Discussion0
Loading the discussion…