Aracılığıyla paylaş


Bu (MDX)

Atamaları ile kullanmak için geçerli olan subcube çok boyutlu deyimler (MDX) hesaplama komut verir.

This 

Remarks

The This işlev can be used in the place of any subcube ifade to provide the current subcube within the current kapsam within the MDX calculation script. The This işlev must be used on the left side of an assignment.

Örnekler

Aşağıdaki komut MDX parçalara ayırması gösterir nasıl subcubes atamalarını yapmak için bu anahtar sözcük kapsam ekstreleri kullanılabilir:

Scope

(

[Date].[Fiscal Year].&[2005],

[Date].[Fiscal].[Fiscal Quarter].Members,

[Measures].[Sales Amount Quota]

) ;

This = ParallelPeriod

(

[Date].[Fiscal].[Fiscal Year], 1,

[Date].[Fiscal].CurrentMember

) * 1.35 ;

/*-- Allocate equally to months in FY 2002 -----------------------------*/

Scope

(

[Date].[Fiscal Year].&[2002],

[Date].[Fiscal].[Month].Members

) ;

This = [Date].[Fiscal].CurrentMember.Parent / 3 ;

End Scope ;

End Scope;

See Also

Reference

Other Resources