IndicatorSelection(Type: Integer): IDimSelection;
Type. Metric type of analytical data area slice.
The IndicatorSelection property returns metrics dimension selection.
The values of the Type parameter are presented in the EaxSliceIndicatorType enumeration.
Executing the example requires that the repository contains an express report with the EXPRESS identifier containing 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 metric dimension selection
IndSel := Slice.IndicatorSelection(EaxSliceIndicatorType.Color);
// Display to the console metrics dimension identifier
Debug.WriteLine("Metric dimension identifier - " + IndSel.Dimension.Ident);
End Sub UserProc;
After executing the example, the console displays metrics dimension identifier.
See also: