So funny you guys are talking about ConsolidatedAvg etc, Just trying to use it now for training material... I can't get it working. The IBM article
here says it works with TI and Rules.
Here's what I've tried:
Scenario 1:
Code: Select all
['Average Subscription Price'] = C: ConsolidatedAvg(2,'Subscription',!Year,!month,!Scenario,!Department,!Product,'Subscription Price');
['Average Subscription Price'] = N: ['Subscription Price'];
Ignores the N: Level Rule - The result of ConsolidatedAvg is #NA (not sure why as I'm looking at Subscription Price measure in both lines)
Scenario 2:
Code: Select all
['Average Subscription Price'] = N: ['Subscription Price'];
['Average Subscription Price'] = C: ConsolidatedAvg(2,'Subscription',!Year,!month,!Scenario,!Department,!Product,'Subscription Price');
Ignores the C: Level Rule, C Levels are naturally consolidated.
Scenario 3:
Code: Select all
['Average Subscription Price'] = C: ConsolidatedAvg(2,'Subscription',!Year,!month,!Scenario,!Department,!Product,'Subscription Price');
Same result as Scenario 1:
Scenario 4:
Code: Select all
['Average Subscription Price'] = ConsolidatedAvg(2,'Subscription',!Year,!month,!Scenario,!Department,!Product,'Subscription Price');
In this case the measure at every level is #NA.
Tracing any of the cells calculating to #NA(using the ConsolidatedAvg) rule will show the value of 'Subscription Price' perfectly then state that the rule resulted in -1.#IND which is usually whats returned from an infinite loop - none here though.
I really wanted to try the new functions...
Any ideas?