在CUBESET函数中使用带有三个参数的EXISTS

这是我现在返回的公式#N/A

 =CUBESET("MyConnection","EXISTS([Customers].[Customer Names].MEMBERS,[Date].[Date - Calendar Month].[Calendar Month].&[201312],""CustomerMeasureGroup"")") 

如果我将其更改为以下,则它的function正常,但需要使用EXISTS的第三个参数来获取该集合中正确的项目数量:

 =CUBESET("MyConnection","EXISTS([Customers].[Customer Names].MEMBERS,[Date].[Date - Calendar Month].[Calendar Month].&[201312])") 

只要尝试把措施组名称与单个单引号,而不是双加双引号。

没有清楚地logging在某处 – 据我所知 – 但在某些情况下,MDX接受单引号或双引号来标记string。