Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Returns the current subcube for use with assignments in the Multidimensional Expressions (MDX) calculation script.
The following MDX Script fragment shows how the This keyword can be used with SCOPE statements to make assignments to subcubes:
[Measures].[Sales Amount Quota]
This = ParallelPeriod
[Date].[Fiscal].[Fiscal Year], 1,
) * 1.35 ;
/*-- Allocate equally to months in FY 2002 -----------------------------*/
This = [Date].[Fiscal].CurrentMember.Parent / 3 ;
End Scope ;