ICubeLoaderDimensionFix.Operation

Syntax

Operation: BasicAggregatorOperation;

Description

The Operation property determines dimension data aggregation. It is relevant with multiple fixing of the dimension elements.

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. Aggregation for all elements is executed by these dimensions. Aggregation method - Actual mean.

See also:

ICubeLoaderDimensionFix