Express > Express Assembly Interfaces > IEaxObject > IEaxObject.CombinedIndicatorSelection
CombinedIndicatorSelection: IDimSelection;
The CombinedIndicatorSelection property returns selection of all dimension metrics in view.
To get selection of all dimension metrics in view, use IEaxObject.IndicatorSelection.
Executing the example requires that the repository contains a regular report with the REPORT identifier containing a 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("Metrics dimension - " + Sel.Dimension.Name);
Debug.WriteLine("Combined selection of dimension metrics - " + CombSel.ToString("", ", ", False));
End Sub UserProc;
After executing the example the console displays name of metrics dimension, selection of this dimension metrics.
See also: