我有一个非常简单的计算成员:
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