5 Replies Latest reply: Oct 15, 2018 8:14 PM by Jomar Ebonite RSS

    Expression Error

    Rahul Patel

      Hi,

       

      I'm trying to use a variable in an expression, but this doesn't seems to work. Here is my expression

       

      Sum({<ATTRIBUTE2={'$(vPreviousMonth)'}>}Sales_Count) and

      vPreviousMonth = Date(AddMonths(Max(Date#(ATTRIBUTE2, 'MMM-YYYY')),-1),'MMM-YYYY')


      Any help here guys.


      Thanks,

      Rahul