Hi,is there a way in which I can return the children of a dimension if a value is true or if not limit what's returned?
Sample MDX below:
SELECT NON EMPTY [Measures].[Measures] ON COLUMNS,
NON EMPTY [Dimensions].[Dimensions] ON ROWS
FROM
(
SELECT
CASE
WHEN [Dimensions].[Value].CurrentMember IS [Dimensions].[Value].&[Apple]
THEN [Calendar].[Fin Month].Children
ELSE [Calendar].[Fin Year].&[2014]
END
ON COLUMNS
FROM
[Cube]
)
What I trying to return is all months where the dimension value is Apple but if not then only return me results in the Fin Year.
Many thanks.