Hi All,
I would like to get the current month based on the months members. I have tried like this but it is displaying nothing
SELECT { [Measures].[Only] } ON COLUMNS, LASTPERIODS(12,strtomember ("[BusinessDate].[YYYYMM].&[" + format(now(), "yyyyMM") + "]")) /* [BusinessDate].[YYYYMM].&[2012-11] */ DIMENSION PROPERTIES MEMBER_CAPTION ,MEMBER_UNIQUE_NAME ON ROWS FROM [Cube]
Based on current month I want to display last 12 months data. I was bit struck to get the current months based on months member
Can anyone guide me through pls