1. Defect by Units
In many situations, we are interested in estimating the occurrence rate of defective components per unit of measurement.
Example:
Consider a sugarcane harvesting machine where we will check the machine cab. Table 1 lists the types of defects, the units manufactured and the number of opportunities per defect. We will find confidence intervals for the cab product and also for each of its components.
| Components | Unit | Defect | Opportunity |
|---|---|---|---|
| Tachometer | 57 | 49 | 2 |
| Hoses | 57 | 29 | 2 |
| Fence | 57 | 18 | 6 |
| Air Conditioning | 57 | 14 | 1 |
| Doors | 57 | 10 | 2 |
| Control box | 57 | 6 | 1 |
| Electrical System in the Panel | 57 | 5 | 1 |
| Control cables | 57 | 3 | 2 |
| Instrument | 57 | 2 | 2 |
| Ventilation | 57 | 2 | 1 |
| Column | 57 | 1 | 1 |
To load the data, open Data upload, choose the Paste tab, paste the table above (with the column names), give the dataset a name (for example, DPU — cabine da colheitadeira), and click Load.

In the sidebar menu, open Quality Tools › Indicators › Defects by Unit and fill in the Settings panel:
- In Components, select
Componentes. - In Units, select
Unidade. - In Defects, select
Defeito. - Click Calculate.

In the Results panel, you can also download the analysis as Excel, Word, or PDF.
The results are:
Quality indicator - DPU
| V1 | |
|---|---|
| Total PPM | 912716.732 |
| Total Yield | 0.087 |
| Total probability of defect | 0.913 |
| TOTAL SIGMA METRIC | 0.000 |
DPU Table
| DPU | Yield | Probability of Metric | SIGMA METRIC | |
|---|---|---|---|---|
| Tachometer | 0.860 | 0.423 | $\qquad \qquad$ 0.577 | 0.000 |
| Hoses | 0.509 | 0.601 | $\qquad \qquad$ 0.399 | 1.694 |
| Fence | 0.316 | 0.729 | $\qquad \qquad$ 0.271 | 2.100 |
| Air Conditioning | 0.246 | 0.782 | $\qquad \qquad$ 0.218 | 2.280 |
| Doors | 0.175 | 0.839 | $\qquad \qquad$ 0.161 | 2.497 |
| Control box | 0.105 | 0.900 | $\qquad \qquad$ 0.100 | 2.790 |
| Electrical system in the panel | 0.088 | 0.916 | $\qquad \qquad$ 0.084 | 2.887 |
| Control cables | 0.053 | 0.949 | $\qquad \qquad$ 0.051 | 3.139 |
| Instrument | 0.035 | 0.966 | $\qquad \qquad$ 0.034 | 3.323 |
| Ventilation | 0.035 | 0.966 | $\qquad \qquad$ 0.034 | 3.323 |
| Column | 0.018 | 0.983 | $\qquad \qquad$ 0.017 | 3.613 |
