AndreaF
2 years agoContributor III
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 and that is working fine.
However, how do I return the "Parent member name" property? Is that possible and what should I use as property string in the function? (the one below is not working and returns an error as you can see)
Thank you
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.