Hi,
I am working on creating a report where I need to display sales for the current month in one column (which I can easily do using the following expression):
TOTAL(IF(Period = ?pMonth? THEN (Sales) ELSE (0)))
However, I am struggling with how to write an expression for displaying sales from the previous two months. For example, if the selected month (pMonth) is '202501', I would like to show the sales for '202411'. Could anyone kindly assist me with writing this expression for the last month's data?
------------------------------
Max Ray
------------------------------