This is my severity calculation.
ifelse(Severity=5 AND {Cycle days}<12,‘Within SLA’,isNull(Severity) AND {Cycle days}<12,‘Within SLA’,Severity=4 AND {Cycle days}<9,‘Within SLA’,Severity=3 AND {Cycle days}<4,‘Within SLA’,‘SLA exceed’)
When the ticket age(cycle days) is more than 12 days for severity 5 then will come under “exceed SLA” if not then it will come under “within SLA”.
My formula is working fine but when the severity is “none” then the calculation is wrong. For the severity 3,4,5 works fine.
How to calculate the severity none, which means there is no severity in ticket and in my file for “none” cases the cell will be blank.
@ErikG Did I want to use ifelse here to define the formula like below?
ifelse(Severity=5 OR isNull(Severity)) AND {Cycle days}<12,‘Within SLA’, ‘Within SLA’, Severity=4 AND {Cycle days}<9,‘Within SLA’, Severity=3 AND {Cycle days}<4,‘Within SLA’,‘SLA exceed’)
I guess you already tested it and got an error, right?
Try
ifelse(
(Severity=5 OR isNull(Severity)) AND {Cycle days}<12,‘Within SLA’,
Severity=4 AND {Cycle days}<9,‘Within SLA’,
Severity=3 AND {Cycle days}<4,‘Within SLA’,‘SLA exceed’
)