Manufacturing Quality Control Metrics

This dataset provides detailed records of manufacturing quality control inspections, including defect types, severity, corrective actions, and traceability information. It enables manufacturers to monitor product quality, identify recurring issues, and implement process improvements for higher efficiency and reduced defects. Ideal for quality analytics, compliance reporting, and continuous improvement initiatives.

  • opened 20 times
  • last updated 20 Aug 2025
  • by GoMask
The brief that made it

Monitoring and analyzing product quality trends over time

Sample rows

preview · 8 of 200 rows · all 16 columns
inspection_idstringdefect_severitystringdefect_countintegercorrective_action_takenbooleanproduction_line_idstringinspection_datedateproduct_idstringbatch_numberstringinspector_idstringdefect_typestringinspection_resultstringinspection_methodstringshiftstringlocationstringremarksstringcorrective_action_descriptionstring
INSP-00001None0falseLINE-012024-05-01PRD-10001BATCH-A001EMP-001NonePassVisualDayPlant East, Zone 2No issues detected during routine check.blank
INSP-00002Minor1falseLINE-022024-05-01PRD-10002BATCH-B002EMP-002SurfacePassVisualEveningPlant North, Zone 4Minor scratch noted on casing; within tolerance.blank
INSP-00003Major3trueLINE-032024-05-02PRD-10003BATCH-C003EMP-003AssemblyRework RequiredMeasurementNightPlant West, Zone 7Loose screw detected in multiple units.Units sent to reassembly for correction of loose screws.
INSP-00004None0falseLINE-042024-05-02PRD-10004BATCH-D004EMP-004NonePassMeasurementDayPlant South, Zone 3All measurements within tolerance.blank
INSP-00005Minor2falseLINE-052024-05-03PRD-10005BATCH-E005EMP-005DimensionalPassMeasurementEveningPlant Central, Zone 5Slight deviation in width; within acceptable range.blank
INSP-00006Critical12trueLINE-012024-05-03PRD-10006BATCH-F006EMP-006FunctionalFailFunctional TestNightPlant East, Zone 8Multiple units failed power-on test.Batch destroyed and supplier notified due to critical failures.
INSP-00007Minor1falseLINE-022024-05-04PRD-10007BATCH-G007EMP-007SurfacePassVisualDayPlant West, Zone 1Surface blemish detected on one unit.blank
INSP-00008None0falseLINE-032024-05-04PRD-10008BATCH-H008EMP-008NonePassAutomatedEveningPlant North, Zone 9Inspection completed, no defects found.blank

What the 200 rows show

from the 200-row sample

Critical (defect severity) stands out: mean defect_count is 17.5, against 2.2 for the rest.

  • 41%corrective_action_taken = true
  • 2median defect_count
  • 3inspection results
  • 3shifts
  • 5inspection methods
  • 6defect types
Mean defect_count by defect_severity200 rows
010200.0None65 rows1.4Minor54 rows5.4Major56 rows17.5Critical25 rows
defect_count200 rows, in bands of 5
07014014035810411102040defect_count →

Median 2, from 0 to 37.

production_line_id200 rows · 10 values
  1. LINE-0135
  2. LINE-0235
  3. LINE-0535
  4. LINE-0334
  5. LINE-0434
  6. PLINE016
  7. PLINE026
  8. PLINE035
  9. PLINE045
  10. PLINE055
16 columns by typefrom the column list below
  • string 13
  • integer 1
  • date 1
  • boolean 1

Columns

16 columns in four groups
blueprint · 16 columns
columntypedescriptionexample
Text 13 columns
inspection_idstringUnique identifier for each inspection eventuniqueINSP-00001
product_idstringUnique identifier for the product inspectedPRD-10001
batch_numberstringProduction batch number for traceabilityBATCH-A001
production_line_idstringIdentifier for the production line where the product was manufactured10 linesLINE-01
inspector_idstringUnique identifier for the inspector who performed the inspectionEMP-001
defect_typestringType/category of defect found (if any)6 values · optionalNone
defect_severitystringSeverity level of the defect foundNone · Minor · Major · Critical · optionalNone
inspection_resultstringOverall result of the inspectionPass · Fail · Rework RequiredPass
remarksstringAdditional comments or notes from the inspectoroptionalNo discrepancies found.
corrective_action_descriptionstringDescription of corrective actions taken (if any)optionalUnits sent to reassembly …
inspection_methodstringMethod or technique used for inspectionVisual · Measurement · Functional Test · Automated · OtherVisual
shiftstringProduction shift during which inspection occurredDay · Evening · Night · optionalDay
locationstringPhysical location or facility where inspection was performedoptionalPlant East, Zone 2
Numbers 1 column
defect_countintegerNumber of defects found during inspection0 or more0
Dates and times 1 column
inspection_datedateDate the inspection was performed2024-05-01
True or false 1 column
corrective_action_takenbooleanIndicates if corrective action was taken for defects foundfalse

15 SQL practice questions for the Manufacturing Quality Control Metrics

Written for this data and checked against it: 12 SQL and 3 Power BI exercises from beginner to advanced. Try the first three free; the practice kit has all 15, a starter .sql file and an answer key with every expected result.

  1. 01BeginnerFreeSELECT · WHERE · ORDER BY

    Failed inspections list

    Return inspection_id, inspection_date, production_line_id and defect_count for every inspection whose inspection_result is 'Fail'. Order the rows by inspection_date, then inspection_id.

    Tables: manufacturing_quality_control_metrics · your result: 4 columns, 28 rows
  2. 02BeginnerFreeDISTINCT · ORDER BY

    Distinct inspection methods

    Return each distinct value of inspection_method as a single column named inspection_method, sorted alphabetically.

    Tables: manufacturing_quality_control_metrics · your result: 1 columns, 5 rows
  3. 03BeginnerFreeGROUP BY · COUNT

    Inspections per result

    Count the inspections for each inspection_result. Return inspection_result and inspection_count, ordered by inspection_count descending, then inspection_result.

    Tables: manufacturing_quality_control_metrics · your result: 2 columns, 3 rows
  1. 04Total defects by defect typeBeginner
  2. 05Defects by shift visualPower BI
  3. 06Lines with many failuresIntermediate
  4. 07Defect count bucketsIntermediate
  5. 08Lines above average defectsIntermediate
  6. 09Monthly inspection summaryIntermediate
  7. 10Corrective action rate measurePower BI
  8. 11Rank lines by defectsAdvanced
  9. 12Running defect total by dateAdvanced
  10. 13Day-over-day change in defectsAdvanced
  11. 14Share of defects by locationAdvanced
  12. 15Top inspectors by defects foundPower BI

Get the practice kit: the full dataset, all 15 exercises, a starter .sql and the answer key. One-time $3.99.

Get the practice kit · $3.99

Use it for

  • corrective act…41%81 of 200 rowsmean defect count by …0.0None1.4Minor5.4Major17.5Crit…

    A manufacturing dashboard

    The corrective_action_taken rate, defect_count by defect_severity and a breakdown of production_line_id. Excel, Power BI or Tableau.

  • Why do the 25 Critical rows have a mean defect_count of 17.5?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable inspections with inspection_date, product_id and batch_number to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 16 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

1,000 rows: $1.99 · 10,000: $12.99One-time. No subscription. All prices

This dataset200 rows16 columns
Yours1,000 rows16 columnslocation: UK only

blueprint · manufacturing-quality-control-metrics

Behind this dataset

Same schema. As many rows as you need.

These 200 rows came out of a blueprint — 16 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.

Rules it was built with
  • Record inspection date and line
  • Track defect type and severity
  • Flag failed quality checks
  • Exclude reworked items
Rows
Open the blueprint in Data Factory

1 credit per row. Preview 20 rows free. Buy rows for the full run.

Exports
CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
Licence
yours to use, including commercially
API slug
manufacturing-quality-control-metrics

What should your data show?

Preview 20 rows free
No signup. No card.