13 Replies Latest reply: Aug 24, 2017 9:36 AM by Anindya Manna RSS

    Convert this expression into set expression

    Anindya Manna

      Below expression is for calculating previous month.

      =date(AddMonths(date#(max([FSPM Month Number]),'YYYYMM'),-1),'YYYYMM')

       

      I want to calculate previous month based on date filter. It should not affected by any other selection like product name and rep id.

      Bu using above normal exp. previous month calculation is changing as per selection like product name and rep id