0 Replies Latest reply: Jun 8, 2015 5:43 AM by pablo puig RSS

    How to apply the value of the graph dimension to compute a value used on the set analysis.

      Hello,

       

      I have computed the following expression:

       

      sum({$<Year=,Month=, Frame=P({1<[Data Type]={V},[Year Month]={"<=$(vDateMax)"}>})-P({1<[Data Type]={B},[Year Month]={"<=$(vDateMax)"}>})>} [Num Frame])

      where vDateMax = Max(Year)&Max(Month)

       

      It works well on graphs without Time Dimensions.

       

      I want to plot this expression on a graph with Year and Month as the dimensions. The idea is that the value of the dimension of the graphic just have to influence on the value of the variable vDateMax


      But I do not know if it is possible to apply the value of the graph dimension to compute a value used on the set analysis.

       

      any ideas?

      Thanks in advance,