Same period Last Year 1,2,3,4, MTD/QTD/YTD

Here are some previous solutions that have been presented in the forum for a similar issue: