11 Replies Latest reply: Nov 28, 2012 8:45 AM by eduqlikview RSS

    Average of all preceding values



      I would like to plot the following expression:

      z_i = \lambda \bar x_i + \left ( 1 - \lambda \right)z_{i - 1}.


      For that I need the average of all preceding values. My dimension is a column with dates (days).

      I tried: lambda*avg(L_Z1V1)+(1-lambda)*avg({1-$}L_Z1V1)

      But it didn't work.




      Thank you very much!!!