How to Calculate QTD, MTD, YTD For Previous Date Values