Hi Seth,
I can't quite map the MDX query to your (simpler) problem description,
so some sample data would help clarify this. My initial interpretation
is this MDX query:
SET [Selection] AS '{[Product].[Product].Members}'
MEMBER [Product].[TOTAL] AS 'SUM([Selection])',
SOLVE_ORDER = 5
MEMBER [Measures].[Val1] AS
'iif(IsAncestor(Product].[ProductGroup].&[1],
[Product].CurrentMember),
([RecoveryRate].[All RecoveryRate],
[RecoveryRateDiff].[100],
[ProductRecovery],[Measures].[Measure1]),
([RecoveryRate].[25],
[RecoveryRateDiff].[All RecoveryRateDiff],
[ProductRecovery],[Measures].[Measure1]))'
SELECT {Val1} ON COLUMNS,
NON EMPTY
CROSSJOIN({[Product].[TOTAL],[Selection]},[DEMeasure].[Measure].Members)
ON ROWS
FROM DefaultExposure
WHERE ([BusinessDate].[2005-07-04 00:00:00],
[IssuerIndustry].[Issuer].&[1380087])
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***