2 Replies Latest reply on Oct 13, 2015 7:55 AM by ErnyC

    Analysis Framework Tag Total calculation

    ErnyC

      Hello to everyone

      I need to calculate a TAG summary (Total) with a filter

      I would like to do this calculation with Analysis Framework.

       

      I can have multiple filter condition.

      Calculation is periodic ( 1 Hour)

       

      Something like:

       

      Name - Expression

      Filter1= 'MyTag1' = "1"  AND 'MyTag2' ="0"

      Filter2= 'MyTag1' = "1"  AND 'MyTag2' ="1"

      Filter3= 'MyTag1' = "0"  AND 'MyTag2' ="1"

       

      Total1= TagTot('MyTagAAA','*','*-1h', Filter1)

      Total2= TagTot('MyTagAAA','*','*-1h', Filter2)

      Total3= TagTot('MyTagAAA','*','*-1h', Filter3)

       

      GTotal=Total1+Total2+Total3

       

      TIA

      Erny