Skip to content
zohrix

Production data pipeline and dashboard

Production, quality and order data from existing systems, combined into one near-real-time view for plant managers.

Concept projectManufacturing

Concept projects are detailed approaches to typical briefs. They are not client deliveries.

Overview

A data pipeline that reads the production, quality and order records existing systems already export, cleans and combines them in a cloud warehouse, and shows them on a dashboard for the plant floor.

The challenge

Plant managers piece together the state of production from several places: output and stoppages from production records, defects from the quality system and order status from the order system. Each source uses its own codes and timings, so the morning meeting starts with a debate about which number is right, and late orders or rising scrap come to light a shift later than they should.

Our approach

The steps in the order we would take them.

  1. List the systems that already record production, quality and order data, and agree with the plant’s IT team how each can share it: a scheduled file export, a read-only database replica or a vendor API the plant has access to.

  2. Settle the definitions managers disagree on, such as what counts as scrap, when an order is late and where one shift ends, and write them down before any dashboard is built.

  3. Load each source into a cloud warehouse on a schedule, checking every load for missing files, duplicate rows and out-of-range values before anyone uses it.

  4. Model the data with dbt into shared tables for shifts, work orders, products and defects, so every report draws on the same definitions.

  5. Design dashboards around three decisions (shift handover, scrap review and late orders) and alert the data team as soon as a source stops arriving on time.

What the solution includes

  • Connectors for scheduled file exports, read-only database replicas and vendor APIs
  • Data quality checks on every load, with a log of what failed and why
  • A modeled warehouse in dbt with documented metric definitions
  • Dashboards for shift handover, scrap review and late orders
  • Freshness alerts when a source is late or incomplete
  • Documentation and a runbook for adding a new source

Technical implementation

How we would build it, in the order information moves through the system. Final choices depend on the tools a client already uses.

Python jobs collect each source on its own schedule, every few minutes where a replica or API allows it and whenever a new file lands where only exports exist, and copy the raw data into BigQuery unchanged. dbt then cleans and joins it into tested models for shifts, work orders, products and defects, and a failed test stops a bad load from reaching the dashboards. Power BI reads only from those models, so every page uses the same definitions of scrap, lateness and output. A freshness monitor compares each source’s last arrival with its expected schedule and alerts the data owner when it falls behind. The setup is defined in Terraform and released through GitHub Actions, so every change is reviewed before it reaches the plant.

  1. Sources

    Production, quality and order data from the plant’s existing systems, read through scheduled file exports, read-only database replicas or vendor APIs, with no connection to machines or control systems.

  2. Ingestion

    Scheduled Python jobs copy each source into a raw area of the warehouse unchanged, so any figure can be traced back to where it came from.

  3. Quality checks

    Every load is tested for missing files, duplicate rows, unknown codes and out-of-range values, and failed loads are held back and logged.

  4. Warehouse models

    dbt turns the raw data into shared tables for shifts, work orders, products and defects, with the agreed definitions documented alongside.

  5. Dashboards

    Power BI views for shift handover, scrap by line and product, and open orders that are past or close to their due date.

  6. Monitoring

    A freshness check compares each source with its expected schedule and alerts the data team when one is late or incomplete.

Proposed technologies

Plain tool names, not partnerships. Where a client already uses something that does the job, we use that instead.

  • Python
  • dbt
  • BigQuery
  • Power BI
  • Terraform
  • Docker
  • GitHub Actions
  • Vendor system APIs

Important decisions

The trade-offs that shape the rest of the design, and why.

  • Read what existing systems already record. The pipeline doesn’t connect to machines, PLCs, SCADA or MES directly, and machine-level integration is out of scope. If a figure isn’t recorded in an existing system, the dashboard shows the gap instead of estimating it.

  • Agree the definitions before building the dashboards. Once scrap, lateness and shift boundaries are defined in one place, the meeting can discuss the problem instead of the number.

  • Show freshness on every view. Each dashboard states when its data last arrived, and a late source raises an alert, so nobody acts on old figures without knowing it.

Outcome

This is a concept project. It hasn't been delivered for a client, so there are no results to report. It shows how we would approach this kind of brief.

More case studies

Facing a similar problem?

Tell us about the problem you're solving. We'll reply with questions, a suggested approach and a clear next step.