Page 1 of 1

ElementParent Function return blank

Posted: Thu Oct 29, 2020 4:15 pm
by Ashleigh W
Hello experts, I have been trying to get parent of element from specified hierarchy but it wont work for me

I tried in below format with multiple sample of index 1,2,3 etc. but it won't return any value. In Model Dimension I have 4 top / parent node / hierarchy.

ElementParent('Model', 'Automobile', 'Wagon 4WD', 1)

please advise.

Re: ElementParent Function return blank

Posted: Thu Oct 29, 2020 4:49 pm
by Steve Rowe
You need to include the server/DB name in the dimension ref

Code: Select all

ElementParent('SEVERNAME:Model', 'Automobile', 'Wagon 4WD', 1)

Re: ElementParent Function return blank

Posted: Thu Oct 29, 2020 4:52 pm
by Ashleigh W
I am trying this in TI and Rule as well it does not work in both.

In Excel Sheet it is not recognized.

Re: ElementParent Function return blank

Posted: Thu Oct 29, 2020 6:09 pm
by Wim Gielis
You are using a PA version that supports this relatively new function ?

Re: ElementParent Function return blank

Posted: Fri Oct 30, 2020 10:45 am
by Ashleigh W
that must be the reason. I use PA.
Within the documentation IBM didn't mentioned it or I must have missed it :D

Thank you!