Forum Discussion

AndreaF's avatar
AndreaF
Contributor III
2 years ago

Return the parent member using XFGetHierarchyProperty function

Hi,   I am trying to use the XFGetHierarchyProperty Spreadsheet function to return the "Parent member name" property of a member.   I tested the function by returning the HasChildren property...
  • AndreaF's avatar
    2 years ago

    Thank you for your reply. Since the parent member is a relationship property, looking at the XFGetRelationshipProperty function probably makes more sense. However, as you pointed out a member can have multiple parents. Looking in the dimension library I believe the properties that are greyed out can be used to identify the relationship, but cannot be retrieve using the XFGetRelationshipProperty function, while what is not greyed out can be retrieved with the XFGetRelationshipProperty function.