Show contents 

Express > Express Assembly Interfaces > IEaxDataAreaSlice > IEaxDataAreaSlice.IndicatorSelection

IEaxDataAreaSlice.IndicatorSelection

Syntax

IndicatorSelection(Type: Integer): IDimSelection;

Parameters

Type. Metric type of analytical data area slice.

Description

The IndicatorSelection property returns metrics dimension selection.

Comments

Values of the Type parameter are given in the EaxSliceIndicatorType enumeration.

Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier containing a table.

Add links to the Dimensions, Express, Metabasee system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
    IndSel: IDimSelection;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
    // Get data slice
    Slice := Express.DataArea.Slices.Item(0);
    // Get metrics dimension selection
    IndSel := Slice.IndicatorSelection(EaxSliceIndicatorType.Color);
    // Display metrics dimension identifier in the console window
    Debug.WriteLine("Metrics dimension identifier - " + IndSel.Dimension.Ident);
End Sub UserProc;

After executing the example, the console displays metrics dimension identifier.

See also:

IEaxDataAreaSlice