I have the Expression setup as TagAvg('PITag', '*-1h', '*') with the scheduling setup as Periodic at 01h 00m 00s.
If I send the result to an attribute and trend the attribute I get a moving hourly average. But if I send it to a PI Tag I get a static hourly average as expected. Why does it change to a moving average when you attempt to write the values to an attribute? I am looking for a replacement for the PI Processbook Dataset trend which doesn't accept ERD input.