SSRS Prior Month, MTD Same period as current month
问题 Should be easy right? Today is Aug 11, 2014. I want a column that reflects MTD Which I have: =Count(IIf(Year(Fields!Date.Value) = Year(Today) And Month(Fields!Date.Value) = Month(Today), Fields!ID.Value, Nothing), ) BUt I also want a column in SSRS that shows me the same time frame for the previous month, 7/11/2014. I can get the date to appear, but I can't for the life of me figure out how to grab the data like I have for the current month =FormatDateTime(DateSerial(DatePart("yyyy",today()),