Returns a hierarchy caption from a given hierarchy unique name.

XL3HierarchyLookup( Connection, Hierarchy )

ParameterDescription
ConnectionConnection number to use
HierarchyUnique name of the hierarchy to retrieve the caption for

These examples are based on the Bicycle Sales cube.

Returns Product, the caption of the [Product] dimension.

=XL3HierarchyLookup( 1, "[Product]" )