Hi I would like to add a time period using tagavg to a IF THEN ELSE calculation (as below)- I have tried but can't seem to get it to work. Can someone please send me a calculation that would work that includes tagavg('tag','*','*-2


image.png