MDX expression "CurrentMember" doesn't work
Posted: Tue Mar 24, 2015 10:24 am
Hi,
Help to deal with operation of expression of 'CurrentMember'.
I have 2 cubes - Cube_A and Cube_B:
Cube_A:
Period,
Accounts,
Dim_A1
Cube_B:
Period,
Company,
Dim_B1,
Dim_B2
Need create dynamic Subset in dimension Account which will be used as Picklist in Cube_B in dimension Dim_B1. I try to create it by means of the following request:
{ FILTER ({ TM1SubsetAll ([Accounts]) }, [Cube_A]. ([Dim_A1]. [Element_1], .CurrentMember [Period]) = 'True') }
but I do not get a result and if to add the specific period in which there is a sign of 'True', everything is OK
{ FILTER ({ TM1SubsetAll ([Accounts]) }, [Cube_A]. ([Dim_A1]. [Element_1], [Period]. [2015-01]) = 'True') }
I understand expression of CurrentMember has to return the member of dimension Period chosen in Cube_B?!
Help to deal with operation of expression of 'CurrentMember'.
I have 2 cubes - Cube_A and Cube_B:
Cube_A:
Period,
Accounts,
Dim_A1
Cube_B:
Period,
Company,
Dim_B1,
Dim_B2
Need create dynamic Subset in dimension Account which will be used as Picklist in Cube_B in dimension Dim_B1. I try to create it by means of the following request:
{ FILTER ({ TM1SubsetAll ([Accounts]) }, [Cube_A]. ([Dim_A1]. [Element_1], .CurrentMember [Period]) = 'True') }
but I do not get a result and if to add the specific period in which there is a sign of 'True', everything is OK
{ FILTER ({ TM1SubsetAll ([Accounts]) }, [Cube_A]. ([Dim_A1]. [Element_1], [Period]. [2015-01]) = 'True') }
I understand expression of CurrentMember has to return the member of dimension Period chosen in Cube_B?!