OEE: availability, performance and quality in DAX

How to calculate overall equipment effectiveness (OEE) as availability times performance times quality, a worked shift example, the simple formula good count times ideal cycle time divided by planned time, the six big losses, OEE across machines without averaging percentages, the DAX on production logs, and a loss waterfall.

Short answer: overall equipment effectiveness (OEE) = availability × performance × quality. Availability = run time / planned production time (stops lower it); performance = (ideal cycle time × total count) / run time (running slower than ideal lowers it); quality = good count / total count (scrap and rework lower it). The three multiply out to the simple form OEE = (good count × ideal cycle time) / planned production time: the share of planned time spent making good parts at full speed. A shift with 87.5% × 90.5% × 95% has an OEE of 75.2%.

OEE turns "the line was busy all day" into a number that separates stops, slow running and scrap, the three places to look for capacity before buying a new machine.

How is a shift calculated?

ItemValueCalculation
Planned production time480 min8 hours, breaks excluded
Stop time60 minbreakdowns, changeovers
Run time420 min480 - 60
Ideal cycle time1.0 min per partthe machine's design speed
Total count380 parts
Good count361 parts19 scrapped
Availability87.5%420 / 480
Performance90.5%380 × 1.0 / 420
Quality95.0%361 / 380
OEE75.2%361 × 1.0 / 480
One 8-hour shift on line 1
0100200300400500480Planned time-60Stops-40Slow running-19Scrap361Good parts at ideal speed
Where the 480 planned minutes went

The waterfall shows losses in minutes: 60 to stops, 40 to running slower than ideal (420 - 380), 19 to scrap. 361 good minutes / 480 = 75.2%.

What is the DAX?

A production log with one row per machine and shift: Planned Minutes, Stop Minutes, Ideal Cycle Min, Total Count, Good Count.

Planned Time = SUM ( Production[Planned Minutes] )
Run Time = [Planned Time] - SUM ( Production[Stop Minutes] )
Ideal Time Total = SUMX ( Production, Production[Ideal Cycle Min] * Production[Total Count] )
Ideal Time Good = SUMX ( Production, Production[Ideal Cycle Min] * Production[Good Count] )

Availability = DIVIDE ( [Run Time], [Planned Time] )
Performance = DIVIDE ( [Ideal Time Total], [Run Time] )
Quality = DIVIDE ( [Ideal Time Good], [Ideal Time Total] )

OEE = DIVIDE ( [Ideal Time Good], [Planned Time] )

Quality is written in ideal minutes so that, with several products of different cycle times, availability × performance × quality still equals OEE exactly. For one product it is the same as good count / total count.

How do you combine machines and days?

Sum the minutes and counts first, then divide, as the measures above do. Averaging the OEE % of a machine that ran 8 hours with one that ran 1 hour treats them as equal. The same applies across days and plants.

Which losses sit behind each factor?

FactorLossExample
Availabilityequipment failurebreakdown, unplanned maintenance
Availabilitysetup and adjustmentschangeovers, warm-up
Performanceidling and minor stopsjams, sensor stops under a few minutes
Performancereduced speedrunning below the ideal rate
Qualityprocess defectsscrap and rework in steady production
Qualityreduced yieldscrap during start-up
The six big losses

Log stops with a reason code to show the biggest losses as a bar chart or a decomposition tree.

What goes wrong?

  • A generous ideal cycle time. Using the average speed instead of the design speed inflates performance above 100%.
  • Planned time that excludes too much. Leaving changeovers out of planned time hides them.
  • Averaging percentages. Sum minutes and counts, then divide.
  • OEE as a target for operators alone. Many losses come from planning and materials.

Where can you check this?

Where do you start?

Log planned and stop minutes, counts and the ideal cycle time per shift, and build the three factors and the loss waterfall. First pass yield looks closer at quality.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.