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

EPMMEMBERPROPERTY for hierarchies

0 Kudos
3,673

My ACCOUNTS dimension has multiple hierarchies, PARENTH1, PARENTH2, PARENTH3, PARENTH4.

My question is in regards to how the EPMMEMBERPROPERTY formula should work to return the value for these hierarchies for an ACCOUNT.

If the ACCOUNT in question (420010) has a value in PARENTH1 of "RENTAL_REV" and a value in PARENTH3 of "MGMT_REV" for instance, this is the result I get for the two formulas below:

=EPMMEMBERPROPERTY(, 420010, "PARENTH1") Result is RENTAL_REV

=EPMMEMBERPROPERTY(, 420010, "PARENTH3") Result is MGMT_REV

Both are the results I expected.

However, if instead of having 420010 in the formula itself and I instead referenced a cell in my workbook instead, I get different results (the same account, 420010, is in cell A2 within an EPM report):

=EPMMEMBERPROPERTY(, A2, "PARENTH1") Result is RENTAL_REV

=EPMMEMBERPROPERTY(, A2, "PARENTH3") Result is "The member requested does not exist in the specified hierarchy"

Any thoughts on why the second example that references a cell wouldn't return the same results for PARENTH3?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

Then instead of A2 you have to get MEMBER ID from A2:

EPMMemberProperty(,A2,"ID")

0 Kudos

Yes, I've done this, thank you, but my question is more why would the same formula work when referencing one hierarchy and not work when referencing another hierarchy.

=EPMMemberProperty(, $A$2,"PARENTH1") works.

=EPMMemberProperty(, $A$2,"PARENTH3") doesn't work.

Thanks

former_member186338
Active Contributor
0 Kudos

Because A2 will be checked for EPMOlapMemberO function with the resulting:

[ACCOUNT].[PARENTH1].[420010]

And trying to get PARENTH3 from this member will result in error!

Another option that will work:

=EPMMemberProperty(, $A$2&"","PARENTH3")

0 Kudos

Excellent, thank you Vadim.

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Kudos

Sorry, but not clear what do you have in A2! May be EPMOlapMemberO formula?

Please post a report screenshot with formulas visible.

P.S. Formulas in your question are not real formulas copied from report!

0 Kudos

My apologize for not being clear. It is EPMOlapMemberO formula. See screenshot, thank you.

This one is with the formulas showing:

This one is without formulas showing (which shows the error message)