IEaxObject.CombinedIndicatorSelection

Syntax

CombinedIndicatorSelection: IDimSelection;

Description

The CombinedIndicatorSelection property returns selection of all dimension metrics in view.

Comments

To get dimension metric selection in view, use IEaxObject.IndicatorSelection.

Example

Executing the example requires that the repository contains regular report with the REPORT identifier containing table. Several metric types must be set up in one of fixed dimensions.

Add links to the Dimensions, Express, Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Report: IPrxReport;
    Slice: IEaxDataAreaSlice;
    Grid: IEaxObject;
    Index: Integer;
    Sel, CombSel: IDimSelection;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("REPORT").Bind As IPrxReport;
    Slice := Report.DataArea.Slices.Item(0);
    Grid := Slice.Views.Item(0);
    Sel := Grid.IndicatorSelection(EaxGridIndicatorType.FontSize);
    CombSel := Grid.CombinedIndicatorSelection;
    Debug.WriteLine("Metric dimension - " + Sel.Dimension.Name);
    Debug.WriteLine("Combined dimension metric selection - " + CombSel.ToString(""", "False));
End Sub UserProc;

After executing the example the console displays name of metrics dimension, selection of this dimension metrics.

See also:

IEaxObject