我有一个非常简单的计算成员:
CREATE MEMBER CURRENTCUBE.[Account].[Account Parent].&[NA_1].[Beginning Subscribers]
AS -[Account].[Account Parent].&[Beginning_Subscribers]
但是,Parent 似乎没有计算或只是忽略 Excel 中的 Calculated 成员。见下文:
它应该如下所示:
这是 Excel 端的 MDX:
Select /* Grid - 'Sheet1'!$A$1 */ Non Empty {[Calendar Month].[Calendar Month Parent].&[2018-11],[Calendar Month].[Calendar Month Parent].&[2018-12]} On Columns, Non Empty AddCalculatedMembers ( DrillDownMember ( AddCalculatedMembers ( {Descendants([Account].[Account Parent].&[Net_Mig_1],[Account].[Account Parent].&[Net_Mig_1].Level,AFTER)} ) , { [Account].[Account Parent].&[Net_Mig_1],[Account].[Account Parent].&[NA_1] } , Recursive ) ) On Rows From [TEST CALCS] Cell Properties VALUE