GreyHairedOne
MIS
I have to report on the Mean Time Between Failure (MTBF) of a set of equipments in the factory. The data table has a record for each equipment with the date/time that the equipment failed eg :
EquipId DateTimeFailed
3PAS1 01-Feb-2003 15:00:00
3PAS1 02-Feb-2003 07:58:00
3PAS1 02-Feb-2003 22:00:03
3PAS1 04-Feb-2003 15:15:00
Over a period of time I want to calculate the average time between failures. Using the Previous function I can calculate and display in the detail section of a report the time between the current record and the previous record. However I cannot then use this field to summarise and calculate the average time between failures ie MTBF for each equipment ID.
What I want to see on the report is basically:
EquipId DateTimeFailed TimeSinceLastFail
3PAS1 01-Feb-2003 15:00:00
3PAS1 02-Feb-2003 07:58:00 16 (hours)
3PAS1 02-Feb-2003 22:00:03 14
3PAS1 04-Feb-2003 15:15:00 41
-----------------------------------
MTBF 23
Is there a way of achieving this?
Any help would be appreciated.
GreyHairedOne
(PS Numbers are made up)
EquipId DateTimeFailed
3PAS1 01-Feb-2003 15:00:00
3PAS1 02-Feb-2003 07:58:00
3PAS1 02-Feb-2003 22:00:03
3PAS1 04-Feb-2003 15:15:00
Over a period of time I want to calculate the average time between failures. Using the Previous function I can calculate and display in the detail section of a report the time between the current record and the previous record. However I cannot then use this field to summarise and calculate the average time between failures ie MTBF for each equipment ID.
What I want to see on the report is basically:
EquipId DateTimeFailed TimeSinceLastFail
3PAS1 01-Feb-2003 15:00:00
3PAS1 02-Feb-2003 07:58:00 16 (hours)
3PAS1 02-Feb-2003 22:00:03 14
3PAS1 04-Feb-2003 15:15:00 41
-----------------------------------
MTBF 23
Is there a way of achieving this?
Any help would be appreciated.
GreyHairedOne
(PS Numbers are made up)