ICustomDimElements.Include

Syntax

Include(Row: Integer): Boolean;

Parameters

Row. Index of the row containing element.

Description

The Include property determines whether specified element will be available in the OLAP selection.

Comments

Available property values:

Example

Executing the example requires a standard cube with the CUBE_1 identifier.

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Cube: IStandardCube;

CustDim: ICustomDimension;

DimElems: ICustomDimElements;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("CUBE_1").Edit;

Cube:=MObj As IStandardCube;

CustDim:=Cube.FactDimension.Dimension As ICustomDimension;

DimElems:=CustDim.Elements;

DimElems.Include(DimElems.RowCount-1):=False;

MObj.Save;

End Sub Main;

After executing the example, the last element of fact dimension will be available in the OLAP selection.

See also:

ICustomDimElements