ICalculatedCube.EvaluateOnly

Syntax

EvaluateOnly: EvaluateOnlyType;

Description

The EvaluateOnly property determines the coordinates, by which output matrix values will be calculated.

Comments

The property manages the Calculate Formulas by Physical Data checkbox in calculated cube wizard. On selecting the EvaluateOnlyType.Data value, the checkbox will be selected.

Example

Executing the example requires a calculated cube with the CALCULATED_CUBE identifier.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    Mb: IMetabase;
    Cube: ICalculatedCube;
Begin
    Mb := MetabaseClass.Active;
    Cube := Mb.ItemById(
"CALCULATED_CUBE").Edit As ICalculatedCube;
    Cube.EvaluateOnly := EvaluateOnlyType.Selected;
    (Cube 
As IMetabaseObject).Save;
End Sub UserProc;

On executing the example, in the calculated cube settings there will be enabled the formula calculation by actual data.

See also:

ICalculatedCube