GetDimSort method: CubeCollectionDefn class
Syntax
GetDimSort(DimensionName)
Description
Use the GetDimSort method return the sorting keys used for the dimension.
The sorting keys are returned as an array of any.
The first string is either true or false. If the first string is true it indicates that the dimension is sorted by the names of the members in the dimension.
The second string then is either true or false, indicating whether the sort is ascending (or descending). If the first string is false it indicates that the dimension is sorted by keys, which are the specified by the other strings in the array. The keys are names of cubes. The strings are as follows:
-
Ascend1
-
CubeName1
-
Ascend2
-
CubeName2
-
Ascend3
-
CubeName3
Parameters
| Parameter | Description |
|---|---|
|
DimensionName |
Specify the name of the dimension for which you want the sorting keys. |
Returns
An array of any.