Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Determine if Within SLA or Out?

Hi Kind People,   Need your help. I'm having a hard time as well in getting the SLA if Within and if Out of SLA.   Requirement: 1. if TAT is equal or less than SLA, should be Tagged as "Within ...
  • v-jianboli-msft's avatar
    3 years ago

    Hi Anonymous 

     

    Please try:

    Within or Out = 
    var _a = HOUR([TAT])+MINUTE([TAT])/60+SECOND([TAT])/3600
    return IF(OR(ISBLANK([TAT]),_a>[SLA]),"Out of SLA","Within SLA")

    Final output:

    Best Regards,

    Jianbo Li

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.