IStandardCube.SelSetOriginalOnly

Fore Syntax

SelSetOriginalOnly: Boolean;

Fore.NET 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:

Fore 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;
Begin
    MB := MetabaseClass.Active;
    Cube := MB.ItemById("STD_CUBE").Edit As IStandardCube;
    Cube.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.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Cubes;
Imports Prognoz.Platform.Interop.Metabase;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Cube: IStandardCube;
Begin
    MB := Params.Metabase;
    Cube := MB.ItemById["STD_CUBE"].Edit() As IStandardCube;
    Cube.SelSetOriginalOnly := True;
    (Cube As IMetabaseObject).Save();
End Sub;

See also:

IStandardCube