Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a table that reports monthly figures. Some of the measures report a number of months behind.
I have a column for each measure which is a number. I would like to use ths number on my calculation.
I was using a number of IF statements e.g.
=
NUM(SUM( {$<Metric={'z'},Month={$(vPreMonth)>} Data),'0.00%'),
IF(ReportMonth=-2,
NUM(SUM( {$<Metric={'z'},Month={$(vPreMonth2)>} Data),'0.00%'))))
The problem with this is that I have to code for each possiblitly
What I would like to do is this:
SUM( {$<Metric={'z'},Month={"$(=Date(AddMonths(vMonth,-1),'MMM'))"}>} Data)
But replace the -1 with 'ReportMonth'. This works with I hard code the number.
Any help would be great,
Cheers
Simon