ordinal
Returns the zero-based ordinal value (distance from the root level) of "level".
Syntax
ordinal ( level )
Example 1
ordinal ( [great_outdoors_company].[Products].[Products].[Product
line] )
Result
1
Example 2
ordinal ( [great_outdoors_company].[Products].[Products].[Product
type] )
Result
2