Forum Discussion

morther's avatar
morther
Helper I
9 years ago
Solved

datediff formula with multiple criteria not pulling proper data

I am trying to create a column that pulls downtime minutes between 2 dates excluding hours or non-ooperation 9PM to 5AM.  If the downtime minutes fall between the exclude hours they should probably b...
  • morther's avatar
    morther
    9 years ago

    I got this from Experts-Exchange and it worked.

    IF (  HOUR(EventLog[startdatetime]) >=  5 , EventLog[DowntimeMinutes], 0 )