Just wondering why my processbook won't accept this formula? minval(tagavg('tag1','*-12h','*','30m'),'*-12h','*')- details below

I needed to create a calculation to determine the value of the lowest 30 minute average period within a 12 hour period- Chat GPT spat this out.

I have done plenty of tagmin and tagavg calcs in the past but never used the '30m' part to break the data up into sections. If anyone could shed light on why it won't accept this it would be much appreciated, or suggest an alternative way that I might be able to create this calculation please? Thank you!

Parents Reply Children