Fast dynamic named set calculation
问题 I have a long complex query with a lot of calculations and conditions but the main structure looks like this: WITH MEMBER [Id1] AS [Level].[Level1].CurrentMember.Member_Key MEMBER [Id2] AS [Level].[Level2].CurrentMember.Member_Key MEMBER [Level].[Level1].[FirstSet] AS NULL MEMBER [Level].[Level1].[SecondSet] AS NULL SET [Set 1] AS {some processed set members} SET [Set 2] AS {some other processed set members} SET [Common CrossJoin Set] AS [Level].[Level2].Members MEMBER [Calculated Measure 1]