在下面的示例中,我想查找每个组的总和。有人可以更正我的MDX查询以获得GroupCount列的所需结果。
with member [GroupCount] as
aggregate([Department].[Department ID].currentmember.parent,
[Measures].[Pay Frequency])
select {[Department].[Group Name].[all].children*
[Department].[Department ID].[all].children
} on rows,
{[Measures].[Pay Frequency],[GroupCount]} on columns
from test
我从上述查询得到的结果是:
但是我需要输出为:
答案 0 :(得分:1)
是这样的吗?
\x{0590}