IAutoCubeSourceDimensionFix.Operation

Syntax

Operation: BasicAggregatorOperation;

Description

The Operation property determines an aggregation method that is used according to the fixed dimension data.

Example

Executing the example requires that the repository contains an automatic cube with the AUTO_CUBE identifier.

Sub Main;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    AutoCub: IAutoCube;
    Source: IAutoCubeSource;
    FixInfo: IAutoCubeSourceFixInfo;
    DimFix: IAutoCubeSourceDimensionFix;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("AUTO_CUBE").Edit;
    AutoCub := MObj As IAutoCube;
    Source:= AutoCub.Source;
    FixInfo := Source.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 the automatic cube. All elements are aggregated by dimensions data. Aggregation method - Actual mean.

See also:

IAutoCubeSourceDimensionFix