Looks like the issue is that the Account dimension has custom rollups,
which only occur in Pass 1; but the Calculated Cell is using values from
Pass 0 (presumably prior to Custom Rollup). This version seems to work;
but you can tweak the number of passes, as long as the cell calculation
only starts at Pass 2:
Quote:
|
With Cell Calculation SAPIENCE_INDICATOR4780648 For '(
|
{Measures.[Amount]} )' As
'CalculationPassValue(Measures.[Amount], -1, RELATIVE )', CONDITION ='
CalculationPassValue(Measures.[Amount], -1, RELATIVE ) > (
(ParallelPeriod
(Quarter,1,Time.CurrentMember),Measures.[Amount]) * 1.01)' ,
FORE_COLOR ='11013' ,FORMAT_STRING ='##,##.##; (##,##.##) ; \Z\e\r\o',
CALCULATION_PASS_NUMBER = 2, CALCULATION_PASS_DEPTH = 1
SELECT{{[Account].[Level 02].[Net Income]}} ON COLUMNS,
{CrossJoin({Measures.[Amount]},{[Time].[Year].[1997].[Q1].CHILDREN,[Time
].[Year].[1997].[Q2].CHILDREN})}
ON ROWS FROM [Budget] CELL PROPERTIES
[VALUE],[FORMATTED_VALUE],[CELL_ORDINAL],[FORE_COLOR]
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***