Selection: IDimSelectionSet;
The Selection property returns the data source selection.
Sub Main;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
CellRes: IEaxDrillCellResult;
i: Integer;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
CellRes := Expr.DrillCell(85, 2);
i := CellRes.Selection.Count;
End Sub Main;
After executing the example the i variable contains the number of dictionary selections in the cube used as the cell data source.
See also: