3 Replies Latest reply: Sep 26, 2017 10:22 AM by Sunny Talwar RSS

    9 quarters

    Anil danda

      Hello Qlik Experts,

      I have a quarter field in which i have 11 quarters. I want to show only 9 quarters. In my requirement the starting quarter should be 31/12/2016 that is called the actual quarter and it should project the next 8 quarters i.e till 31/03/2017. I have the below expression where i am restricting the data to take 9 quarters but instead of taking the starting quarter as 31/12/2016 its taking 30/06/2017. Can someone help me please.

       

      = Aggr(if(Fact.date>= max(total(fact.date),9),'P' & (rowno()-3)),(Fact.date) , (NUMERIC)))

       

       

      Thanks,

      Anil