we currently have 2 x MDX dynamic subsets that (a) extract the current month period and (b) creates a subset of the last 12 months based on what the current month is:
Code: Select all
(a)
{TM1FILTERBYPATTERN( {TM1SUBSETALL( [Period] )},
[z_ctrl_measures].([z_ctrl_measures].[Current Month],[z_String].[String 1])
)}
(b)
LastPeriods(12, [Period].[Aug 2016])
...the question is, is it possible to combine these 2 MDX subsets into a new one that returns the last 12 months based on the current month cube reference? Am struggling with the syntax for this e.g.
Code: Select all
???
LastPeriods(12, [Period].([z_ctrl_measures].([z_ctrl_measures].[Current Month],[z_String].[String 1])) )

thanks!
Matt