ICubeLoader.FixInfo

Syntax

FixInfo: ICubeLoaderFixInfo;

Description

The FixInfo property returns the parameters of source cube dimensions fixing. These parameters are not connected with destination cube dimensions.

Example

Executing the example requires a cube loader with the Cube_Load identifier, configured to load data from 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 dimensions data. Aggregation method - Actual mean.

See also:

ICubeLoader