Include(Row: Integer): Boolean;
Row. Index of the row containing element.
The Include property determines whether specified element will be available in the OLAP selection.
Available property values:
True. Element is available in selection;
False. Element is not available in selection.
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: