Returns the data slice for the Default axis by the AxisPoint related to the visual element located under the test point.
A MultiDimensionalData object that is the slice of the client data.
The GetSlice method returns a MultiDimensionalData object that is the data slice by the AxisPoint located at the Default axis. The Default axis is an axis with the DefaultAxis name. The following dashboard items have the Default axis:
In the picture below, the GetSlice() result is the highlighted grid row at the Aniseed Syrup AxisPoint.
The following code returns the Aniseed Syrup AxisPoint.
In code, you can use the DefaultAxis value instead of the "Default" string.