first of all sorry for the maximum length title - I'll explain what I want to to achieve here

I have a User-Parameter Cube named PL_BENUTZEREINSTELLUNGEN having the }Clients dim (surprise!) and PL_BENUTZEREINSTELLUNGEN_Werte (value-dimension).
I want to access a Cube (PL_PERS_Stammdaten) having the dimensions
Jahr (year)
Monat (month)
PL_Werte (scenarios)
PERS_Kost_Struktur (department of employee)
PERS_Personal (employees)
PERS_Merkmale (measurements)
to find all employees (in dimension PERS_Personal) having in the measurements (dim PERS_Merkmale) a 1
This mdx-statement does as wished:
Code: Select all
{FILTER(
{TM1SUBSETALL( [PERS_Personal] )},
[PL_PERS_Stammdaten].(
[Jahr].[2009],
[Monat].[13],
[PL_Werte].[fs],
[PERS_Kost_Struktur].[8100],
[PERS_Merkmale].[ZUORDNUNG])
= 1)}
Code: Select all
{FILTER(
{TM1SUBSETALL( [PERS_Personal] )},
[PL_PERS_Stammdaten].(
[Jahr].[2009],
[Monat].[13],
[PL_Werte].[fs],
StrToMember("[PERS_Kost_Struktur].["+([PL_BENUTZEREINSTELLUNGEN].([}Clients].[Admin],[PL_BENUTZEREINSTELLUNGEN_Werte].[PERS_Kost_Struktur]))+"]"),
[PERS_Merkmale].[ZUORDNUNG])
= 1)}

thank you,
Lukas