Yes. You can make a saved search
Criteria
Type = Cash Sale, Invoice
Mainline = T
Then do results of
Mainline name summary type GROUP
Formula currency, summary type SUM - case when TO_CHAR({trandate},’YYYY’) = TO_CHAR({today},’YYYY’) then {amount} to end
Formula currency, summary type SUM - case when TO_CHAR({trandate},’YYYY’) = TO_CHAR(ADD_MONTHS({today},-12),’YYYY’) then {amount} to end
Formula currency, summary type SUM - case when TO_CHAR({trandate},’YYYY’) = TO_CHAR(ADD_MONTHS({today},-24),’YYYY’) then {amount} to end