I would like perform a dynamic operation on a subset such that,
IF FILTER MDX Expression returns empty subset then use different subset else use the same.
Code: Select all
IIF(
ISEMTPY( FILTER(TM1SUBSETALL([Employee]) , [Employee].[State]) = "Active" ) ,
[Employee].MEMBER,
FILTER(TM1SUBSETALL([Employee]) , [Employee].[State]) = "Active"
)