I have successfully used the below to average the aging for help tickets that were reported between 2 dates. I need to add one more condition, so that it only provides the average if the severity of that ticket is Urgent or High (using @row). I cannot figure out where/how to add this third condition.
=AVG(COLLECT({Closed Severity}, {CLOSED ITEMS Date Created}, =DATE(2024, 5, 6), {CLOSED ITEMS Date Created}, =DATE(2024, 5, 31)), {Closed Aging})
I tried nesting the AND function within the COLLECT as a third condition but this gives me an Invalid Data Type error.
=AVG(COLLECT({Closed Severity}, {CLOSED ITEMS Date Created}, =DATE(2024, 5, 6), {CLOSED ITEMS Date Created}, =DATE(2024, 5, 31), AND(({Closed Severity}), =[Primary Column]@row)), {Closed Aging})