@HspGetMbrIndex

This function returns the member position in the dimension based on the outline order.

Syntax

@HspGetMbrIndex(String[], String)
Parameter Description
String[] An array of string values. An array in which a particular string position has to be reported.
String The actual string in which the location in the String[] must be found.

Note

The return value is a number.

Example

This example returns the position of "2nd Element Change" under the "Element Changes" parent of the Budget Item dimension in a Oracle Hyperion Public Sector Planning and Budgeting application HCP plan type.

@return(@HspNumtoString(@HspMbrIndex(@Name(@DESC("Element Changes")),@name("2nd Element Change"))),error);

This returns 2.