IStandardCubeDestination.SelSetOriginalOnly

Syntax

SelSetOriginalOnly: Boolean;

Description

The SelSetOriginalOnly property determines whether data can be aggregated by full-selection dimensions.

Comments

This checkbox value determines whether the From Source Facts aggregation method is available in different tools of Foresight Analytics Platform. The property is set to False by default, this aggregation method is not available. If the SelSetOriginalOnly property is set to True, the following options are available:

Example

Executing the example requires that the repository contains a standard cube with the STD_CUBE identifier. Aggregation is set up for cube facts. Some of the cube data source fields are not linked to cube dimensions.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Cube: IStandardCube;
    CubeDest: IStandardCubeDestination;
Begin
    MB := MetabaseClass.Active;
    Cube := MB.ItemById(
"STD_CUBE").Edit As IStandardCube;
    CubeDest := Cube.Destinations.Item(
0);
    CubeDest.SelSetOriginalOnly := 
True;
    (Cube 
As IMetabaseObject).Save;
End Sub UserProc;

After executing the example, data aggregation by full-selection dimensions is enabled in the cube. After this, if this cube is used as a data source for tools of Foresight Analytics Platform, cube fact aggregation can be used.

See also:

IStandardCubeDestination