如何显示计算度量中维度的记录(帐户)数。 例如,以下表达式是MDX以列出所有帐户。
[Customer Credit].[Account Name].[Account Name].members
是否可以创建一个包含所有帐户COUNT的度量?
答案 0 :(得分:2)
使用MDX count功能:
with member [Measures].[My Count] as
[Customer Credit].[Account Name].[Account Name].members.count
select [Measures].[My Count] on 0
from [your-cube]