您好,我正在尝试将查询成员作为过滤条件,我尝试执行的代码是:
Member [ThisMonth] as VBAMDX.Format(VBAMDX.Now(),"yyyyMM")
SET [currentdays] AS filter([D Date].[DAY ID].Members,
[D Date].[MONTH ID]=[ThisMonth])
但是查询没有识别条件
Member [ThisMonth] as VBAMDX.Format(VBAMDX.Now(),"yyyyMM")
SET [currentdays] AS filter([D Date].[DAY ID].Members,
[D Date].[MONTH ID].&[201309])
查询因此返回期望结果。我只是想知道是否有更多动态方法可以做到这一点?
非常感谢!