Even I still do not understand the reasons for implementing this logic, you can hide it by adding. If you add a custom item to Mondrian, try it.
Create Set CurrentCube.[MissingMemberSet] As iif(IsError(StrToMember("[Dimension].[Hierarchy].&[MEMBER]")), {}, {[Dimension].[Hierarchy].&[MEMBER]}); Create Member CurrentCube.Measures.[Calculation on Missing Member] AS IIF ([MissingMemberSet].Count > 0, ([Dimension].[Hierarchy].&[MEMBER],Measures.[X Measure]), 0 ) , FORMAT_STRING = "Currency", LANGUAGE = 1033, NON_EMPTY_BEHAVIOR = { [X Measure] }, VISIBLE = 1 , DISPLAY_FOLDER = 'Display Folder' ;
You can also implement IIF (IsError or IIF (Exists MDX) functions in use.
Proffesore
source share