3 Replies Latest reply: Jun 28, 2017 7:00 AM by Sunny Talwar RSS

    Subtract one year in date MM/YYYY

    Gabriele Formici

      Hi everyone. I've managed to build up a table that sum revenues for a certain period based on my selection.

      Now, I'd like to add a new column to my table showing revenues for the previous year, given the same period (in months) selected.

      Please see screenshot for details.

      Thanks in advance for your help!

       

      Please note that

      - the selected date field name is "selecteddate"

      - the date I used in the if function is "recorddate"

      - the revenues field name is "revenues"