Active form rebuild removes MDX in subset
Posted: Wed Nov 18, 2020 12:07 pm
Hi folks,
I have encountered a strange behaviour in connection with dynamic subsets.
I have an active form. Outside the data range of the active form I have some DBRW-formulas in which I use dynamic subsets instead of a specific dimension member to retrieve the total for a specific set of elements. The dynamic subset is build up by filtering a set of elements based on a cube value (and beginning with a specific pattern):
{TM1FILTERBYPATTERN (
{FILTER (
DESCENDANTS ( [RC_UBZ_PC].[X0078PC0078] ),
[RC_UBZ_PC].(
[RC_UBZ_PC].CurrentMember,
[RC_UBZ_FI].[DUMMY],
[RC_UBZ_GF].[DUMMY],
[RC_UBZ_YEAR].[2019],
[RC_UBZ_PERI].[pro Dez],
[RC_UBZ_STMB].[Ist Stichtag],
[RC_UBZ_COSTELEM].[TRS_S1_KST_TYP],
[RC_UBZ_WAEH].[Output]
) = "A" )},
"X0078PC*" )}
This works fine until I rebuild the current sheet. After that the MDX "disappears" from the dynamic subset, i.e. the dynamic subset has turned into a static subset. This is reproducable, every time I rebuild the active sheet this happens!
Is this a bug or am I missing something?
Best Regards,
Alexander Koeppe
I have encountered a strange behaviour in connection with dynamic subsets.
I have an active form. Outside the data range of the active form I have some DBRW-formulas in which I use dynamic subsets instead of a specific dimension member to retrieve the total for a specific set of elements. The dynamic subset is build up by filtering a set of elements based on a cube value (and beginning with a specific pattern):
{TM1FILTERBYPATTERN (
{FILTER (
DESCENDANTS ( [RC_UBZ_PC].[X0078PC0078] ),
[RC_UBZ_PC].(
[RC_UBZ_PC].CurrentMember,
[RC_UBZ_FI].[DUMMY],
[RC_UBZ_GF].[DUMMY],
[RC_UBZ_YEAR].[2019],
[RC_UBZ_PERI].[pro Dez],
[RC_UBZ_STMB].[Ist Stichtag],
[RC_UBZ_COSTELEM].[TRS_S1_KST_TYP],
[RC_UBZ_WAEH].[Output]
) = "A" )},
"X0078PC*" )}
This works fine until I rebuild the current sheet. After that the MDX "disappears" from the dynamic subset, i.e. the dynamic subset has turned into a static subset. This is reproducable, every time I rebuild the active sheet this happens!
Is this a bug or am I missing something?
Best Regards,
Alexander Koeppe