13 Replies Latest reply: Jun 26, 2015 2:51 AM by Sasidhar Parupudi RSS

    Use Alternate state in expression with aggr

    Paul Steinborn

      Dear Community,

       

      i have following expression:

      SUM(aggr(DISTINCT(AMOUNT),SN,DATE,AMOUNT))

       

      And the alternate state:

      X

       

      Now i want to transform this expression so it runs under the alternate state X

       

      I tried :

      sum({X} aggr(DISTINCT(AMOUNT),SN,DATE,AMOUNT))

       

      But the aggreagate is not working over this alternate state

      Please help!