求SSAS中的计算成员中属性成员的使用
求SSAS中的计算成员中属性成员的使用?
<img src="D:\kamus\work\CGFE\DimIntegrate.bmp" alt="{1}" />
如果只根据DimIntegrate维度的[Attribute Name]属性值是可以判断是可以显示正常的
但是加上[Attribute Name]的属性成员的值判断就不行了,如下面
DimIntegrate 为一个维度,[Attribute Name]为其一属性, Attribute Order 为[Attribute Name]的属性成员
when [DimIntegrate].[Attribute Name].CurrentMember
IS [DimIntegrate].[Attribute Name].[Product1]
then 12
显示 12
when [DimIntegrate].[Attribute Name].CurrentMember
IS [DimIntegrate].[Attribute Name].[Product1]
then [DimIntegrate].[Attribute Name].CurrentMember.Properties( "Attribute Order" )
显示结果为 701
但是
when [DimIntegrate].[Attribute Name].CurrentMember
IS [DimIntegrate].[Attribute Name].[Product1]
and [DimIntegrate].[Attribute Name].CurrentMember.Properties( "Attribute Order" ) = 701
没有显示结果