Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My source date field is
[Date Closed]
I have a master calendar
I define MonthName([Date Closed]) as Month
all works
I select Feb 2019 on my chart, list, etc
I would like to display the value from the previous month
I have tried various options.
I have a variable
vPrevMonth = Month-1
vPrevMonth displays Jan 2019 so is working correct
my expression is
=Count({<Month={'$(vPrevMonth)'},RFT = {'YES'}>} RFT)
or
=Count({<Month={$(vPrevMonth)},RFT = {'YES'}>} RFT)
I just cant get it to work
anyone with any pointers
regards
Try this
=Count({<Month = {"$(=MonthName(AddMonths(Max(Month), -1)))"}, RFT = {'YES'}>} RFT)