如果我运行以下命令:
WITH MEMBER [Date].[Date - Calendar Month].[Last Completed Month] AS
IIF( Day(Now()) = 1,
TAIL([Date].[Date - Calendar Month].[Calendar Month],1)(0),
TAIL([Date].[Date - Calendar Month].[Calendar Month],2)(0)
)
SELECT
NON EMPTY
[Date].[Date - Calendar Month].[Last Completed Month]
ON COLUMNS
FROM [OurCube]
WHERE ([Measures].[NumUsers])
它返回这个:
是否可以更改脚本,以便使用实际月份“2013 年 6 月”而不是使用“最后完成的月份”作为列标题?