Gets the number of base members for the current member or for a specified member. This function can be used in these types of rules:
HS.<Object>.NumBase("Element") HS.Node.NumBase("S#Scenario.Y#Year.P#Period.E#Entity") HS.<Object>.NumBase("") HS.Custom(Dimension).NumBase(Member)
Table 70. Syntax for NumBase Function
You can also embed the NumBase function in the Exp function. If you embed the NumBase function, do not surround NumBase’s argument with quotation marks, as in this example:
HS.Exp "A#AverageSales = A#Sales/HS.Entity.NumBase(Regional)"
A Long that identifies the number of base members. For Node, gets the number of active base elements of the specified member.
In this example, the application contains an account named SalesAlloc that stores the average sales amount for the base entities under the Regional entity. To calculate the SalesAlloc amount, the example divides the Sales account's amount by the number of base entities under Regional.