Sage enterprise Intelligence - Calculated columns

Kindly advise on how I can achieve the following results:

I am creating a report  Under Datamodel/sales History / Sales Analysis folder.  The report is supposed to be a worksheet view showing Net sales for the month, lets say a report for today, it should have dates columns up to 9th  september [1...9] each showing daily sales, another column should be  added showing the total sales for last year same month .. in our case it should show total sales for the whole month of Sepember 2023.

I have put the Transactiondate as a pivot & Netsales as a column. The challeng is to introduce sales for last year as a calculated column.

I have the following columns :Netsales, Transactiondate, Fiscyear, Fiscperiod, DocumentNo.