MDX计算适用于所有暗淡属性

时间:2012-12-19 00:57:19

标签: ssas mdx

此分数适用于成绩维度中的成绩代码

CREATE MEMBER CURRENTCUBE.[Measures].[Daily Headcount Percentage by Grade]
AS [Measures].[Headcount]
/
([Grade].[Grade Code].[All], [Measures].[Headcount]), 
FORMAT_STRING = "Percent"

我希望calc能够与等级调整中的任何属性一起工作,因为除了等级代码之外,所有属性都会返回100%?

1 个答案:

答案 0 :(得分:0)

对本地多维数据集进行快速测试,删除对我有用的属性是否适合您?

CREATE MEMBER CURRENTCUBE.[Measures].[Daily Headcount Percentage by Grade]
AS [Measures].[Headcount]
/
([Grade].[All], [Measures].[Headcount]), 
FORMAT_STRING = "Percent"