ICustomDimTree.Include

Syntax

Include(PrimaryKey: Variant): Boolean;

Parameters

PrimaryKey. Primary key of the element access to which is to be determined.

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;

CustDimTree: ICustomDimTree;

Begin

MB := MetabaseClass.Active;

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

Cube := MObj As IStandardCube;

CustDim := Cube.FactDimension.Dimension As ICustomDimension;

CustDimTree := CustDim.Tree;

CustDimTree.Include(CustDimTree.RootChildren.Item(0)) := False;

MObj.Save;

End Sub Main;

After executing the example the first root element of fact dimension is unavailable in OLAP selection.

See also:

ICustomDimTree