Express > Express Assembly Interfaces > IEaxDataAreaSlice > IEaxDataAreaSlice.IndicatorSelection
IndicatorSelection(Type: Integer): IDimSelection;
Type. Metric type of analytical data area slice.
The IndicatorSelection property returns metrics dimension selection.
Values of the Type parameter are given in the EaxSliceIndicatorType enumeration.
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: