4 Replies Latest reply: Jul 11, 2017 5:22 AM by kushal chawda RSS

    Set Analysis - Variable within the previous 30 days

    Phil Speight

      Hi  I have created a set analysis, where I only want to include a sum of the FTE if the stage in in Authorisation and the Modification date is within the previous 30 days.  It works fine without the variable, but then returns zero when I include the variable.

       

      I have created a variable to identify the date 30 days ago.  When I try to apply it to my set analysis it doesn't work. What am I doing wrong.

       

      =Sum(Aggr(Sum(

       

      {<

      Recruit.Vacancy_Stage={'Authorisation'},

      [Recruit.Vacancy Modified Date]={'$(>=v30DaysOld)'}

      >}

       

      Recruit.Vacancy_FTE),Recruit.empjobref))

       

       

       

      Cheers

       

       

       

      Phil