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

MDX FORMULA - HIERARCHY ERROR

former_member623
Participant
0 Likes
870

Hello,

BPC 10.1 nw ,hana mdx enabled.

Member formula:

IIF([ENTITY].CURRENTMEMBER=[ENTITY].[PC_ASA],10,20)

----------------

[ENTITY].[PC_ASA] - This member is only in H2 hiearachy.

above member formula works only when i select an entity from H2.if i select an entity from H1 , report throws an mdx error "no result set..".

is there any syntax error in the formula? or is it a system bug.

thanks in advance.

Rekha

Accepted Solutions (1)

Accepted Solutions (1)

former_member623
Participant
0 Likes

it works after changing formula as Below:

IIF([ENTITY].CURRENTMEMBER.NAME = "PC_ASA", 10, 20)

Answers (5)

Answers (5)

former_member186338
Active Contributor
0 Likes

If other properties are working - put some unique value in another property and use it as workaround...

former_member623
Participant
0 Likes

Other properties works fine..Only ID not working

former_member186338
Active Contributor
0 Likes

To check try some other property, not ID.

former_member623
Participant
0 Likes

hi vadim

IIF([ENTITY].CURRENTMEMBER.PROPERTIES("ID")="PC_ASA",10,20)

-->above format throws an ujo read exception error .It doesnt work for PC_ASA also.

thanks

rekha

former_member186338
Active Contributor
0 Likes

Try:

IIF([ENTITY].CURRENTMEMBER.PROPERTIES("ID")="PC_ASA",10,20)