Operation: BasicAggregatorOperation;
The Operation property determines an aggregation method that is used according to the fixed dimension data.
Executing the example requires that the repository contains an automatic cube with the AUTO_CUBE identifier.
Sub UserProc;
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 UserProc;
After executing the example all dimensions of the source cube that are missing in the destination cube are fixed in the automatic cube. All elements are aggregated by dimensions data. Aggregation method - Actual mean.
See also: