(D, $(vToday), 0) * -1 AS CMTD, //Current month-to-date
inmonthtodate(D, $(vToday), -1) * -1 AS PMTD, //Previous month-to-date inmonthtodate(D, $(vToday), -12) * -1 AS FPMTD, //First prior month-to-date, same month last year inmonthtodate(D, $(vToday), -24) * -1 AS SPMTD
//Second prior month-to-date, same month two years ago
Bill - Principal Technical Support Engineer at Qlik To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.