cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Determine the parent of a member using EPM formula

Former Member
0 Likes
4,077

Dear BPC Gurus

I need to use EPM formula to derive the level 7th parent of a member.

For example, in picture below, in red box, is the base member called 21490001.

I need to use a EPM formula so that it will get the level 7th parent of the member, in this case is TP190....

When I use the formula =EPMMemberProperty(,"21490001","PARENTH1"), it gave me 1st level which is TRS21490....

How do I use EPMMemberProperty to get the parent's ID above the 1st level? Like the 2nd level TRS21491, 3rd level TRS21291, 4th level TP111040, 5th level TP111, 6th level TP110, 7th level TP190....

The only way I could think of is nesting.... =EPMMemberProperty(,EPMMemberProperty(,"21490001","PARENTH1"),"PARENTH1") but it can get pretty long... any other more efficient way to get the parents above 1st level?

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor

Yes, only nesting!

Former Member
0 Likes

Thanks Vadim

former_member186338
Active Contributor
0 Likes

Then accept the answer and close the question in line with forum rules.

Answers (1)

Answers (1)

jrg_finster3
Active Participant
0 Likes

Try to figure out how many "Level 7" parents you have.

Are they Kind of "Account Groups"? If you want to Archive some Kind of classification i would use a property on base member rather than nesting around.

regards

Jörg