ICubeLoaderDimensionFix.Selection

Syntax

Selection: IDimSelection;

Description

The Selection property returns dimension selection.

Example

Executing the example requires a data loader with the Cube_Load identifier configured to load one cube into another.

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

CubLoad: ICubeLoader;

FixInfo: ICubeLoaderFixInfo;

DimFix: ICubeLoaderDimensionFix;

Begin

MB := MetabaseClass.Active;

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

CubLoad := MObj As ICubeLoader;

FixInfo := CubLoad.FixInfo;

For Each DimFix In FixInfo Do

DimFix.Operation := BasicAggregatorOperation.ActualMean;

DimFix.Selection.SelectAll;

End For;

MObj.Save;

End Sub Main;

After executing the example all dimensions of the source cube, missing in the consumer cube, are fixed in data loader. Data aggregation for all elements is executed by these dimensions. Aggregation method - Actual mean.

See also:

ICubeLoaderDimensionFix