$parent(dimension,hierarchy,namespace,member) returns the parent of the given member in the hierarchy belonging to the dimension. The hierarchy and namespace arguments are optional and only need to be defined if they are a different value than the default hierarchy and namespace.
The following example returns the parent member name of the member whose name is the value of the ${finished good} field, in the Product dimension.
$parent(Product,,,${finished good})