0 Replies Latest reply: Mar 18, 2014 10:53 AM by alvinford ford RSS

    Set Analysis

    alvinford ford

      Hi All,


      I am using the following expression. The results are correct.




      I want to add some conditions and add it to the set analysis expression as below but not getting the desired results.


      =if($(vTodaysYear)=Right(vSelectStartDate,4) AND $(vTodaysYear)=Right(vSelectEndDate,4) ,

      sum({<AreaMonthYear = {">=$(vSelectStartDateMY)<=$(vSelectEndDateMY)"},Year={'$(vTodaysFYear)'}>} $(=Only(AreaThisYear))))


      Kindly suggest the solution. Can we use Sum along with only in the set analysis.