AnsweredAssumed Answered

Second day of month  for tagAvg()

Question asked by alanR on Jun 29, 2020
Latest reply on Jun 29, 2020 by sraposo

Hi,

 

Im trying to get a monthly average, the range is from the 2nd to the 2nd of each month.

 

What i currently have.

CheckDay:

if Day ('*') = Day(BOM('*')+86400) then 1 else NoOutput()

AvgFlow

if CheckDay = 1 then  TagAvg('Flow',BOM('*')+86400,'*') else NoOutput()

 

Thanks

Outcomes