3 Replies Latest reply: Nov 29, 2012 5:30 AM by Uday Kumar RSS

    Manage frequently used expressions in script editor

    Dimitri Pietersz

      I have the following code in my script:

       

      SET eYTD = 'sum({$<Year = {$(=max(Year))}, Month = {"<=$(=max({<Year={$(=max(Year))}>} Month))"}>} LineSalesAmount)';


      I want to use "eYTD" in my charts as an expression. But after a reload the content of "eYTD" is:

       

      sum({$<Year = {(internal error)}, Month = {"<=(internal error)"}>} LineSalesAmount)


      Any suggestion?