9.5.2 - New Features and Issues

Alan Kirk
Site Admin
Posts: 6643
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: 9.5.2 - New Features and Issues

Post by Alan Kirk »

Andy Key wrote:I've just had a look at that document and thought I would give it a go as I haven't touched DR yet.

Apart from the fact that the code doesn't save due to a missing '1' on the RHS of the Control Cube check line, and the fact that the resulting DRsummary cube will only show the first DR for a }Cube/}Client combination not the complete list as the description of 'all the data reservations on all available cubes in a TM1 server' suggests...
So... not so much a "Proven" practice as a "Hopeful With Fingers Crossed" Practice, then. :lol:

(I'm so very glad that I qualified the original post. It sounds like the problem that the code was intended to address is a valid need, though someone will have to sit down and solve it properly... when or if the time is available.)
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Tilo
Posts: 50
Joined: Mon Oct 06, 2008 4:27 pm
Location: Hamburg

Re: 9.5.2 - New Features and Issues

Post by Tilo »

According to experience [ConsolidatedMin, ConsolidatedMax, ConsolidatedAvg, ConsolidatedCount, ConsolidatedCountUnique] do not calculate correct without SKIPCHECK.
Andy Key
MVP
Posts: 352
Joined: Wed May 14, 2008 1:37 pm
OLAP Product: TM1
Version: 2.5 to PA
Excel Version: Lots
Location: Sydney
Contact:

Re: 9.5.2 - New Features and Issues

Post by Andy Key »

ConsolidatedMax and ConsolidatedMin (I haven't checked the others) can also give incorrect values if a dimension element appears more than once in the same hierarchy.
Andy Key
Kyro
Community Contributor
Posts: 126
Joined: Tue Nov 03, 2009 7:46 pm
OLAP Product: MODLR - The CPM Cloud
Version: Always the latest.
Excel Version: 365
Location: Sydney, Australia
Contact:

Re: 9.5.2 - New Features and Issues

Post by Kyro »

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?
jstrygner
MVP
Posts: 195
Joined: Wed Jul 22, 2009 10:35 pm
OLAP Product: TM1
Version: 9.5.2 FP3
Excel Version: 2010

Re: 9.5.2 - New Features and Issues

Post by jstrygner »

The results are what I would expect, unless you have the AllowSeparateNandCRules=T set in your .cfg file. Do you?
Kyro
Community Contributor
Posts: 126
Joined: Tue Nov 03, 2009 7:46 pm
OLAP Product: MODLR - The CPM Cloud
Version: Always the latest.
Excel Version: 365
Location: Sydney, Australia
Contact:

Re: 9.5.2 - New Features and Issues

Post by Kyro »

Yep, right on the money, was playing around in sdata. But that still doesn't fix my real issue which is with ConsolidatedAvg.
MAP
Posts: 3
Joined: Wed Jun 11, 2008 4:05 pm
Location: USA
Contact:

Re: 9.5.2 - New Features and Issues

Post by MAP »

I know there is at least one bug in ConsolidatedAvg function -- supposedly will be fixed "in the next release" (per email I received 4 Jul 2011).
Using flags in the parameters, does not always return correct value.
Perhaps there is something more wrong with it as well?
https://www-304.ibm.com/support/entdocv ... wg1PM42139
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

9.5.2 rules validation changes

Post by David Usherwood »

Stumbled across this while testing the use of PI for high volume calculations.

There was a feeder in the main calculation cube on the lines of

Code: Select all

[
'Life1 Age':'All Ages',
'Life1 Age':'All Ages',
<blah blah> ] =>
Clearly not correct (the 2nd ref should have been to Life2 Age).
Under CX90 (aka TM1 9.4.1) and CX95 (aka TM1 9.5.1) no error was reported (but the feeder almost certainly didn't work).
Under TM1 9.5.2, the rules engine (correctly) flagged it as an error.
Don't recall changes to rules validation being highlighted in the release docs, so thought it worth bringing to the community's attention.
Support have confirmed the change (while disagreeing that it is an inconsistency :?: ) and also cited
https://www-304.ibm.com/support/docvie ... g21568274
lotsaram
MVP
Posts: 3698
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: 9.5.2 rules validation changes

Post by lotsaram »

David Usherwood wrote:Stumbled across this while testing the use of PI for high volume calculations.

There was a feeder in the main calculation cube on the lines of

Code: Select all

[
'Life1 Age':'All Ages',
'Life1 Age':'All Ages',
<blah blah> ] =>
Clearly not correct (the 2nd ref should have been to Life2 Age).
Under CX90 (aka TM1 9.4.1) and CX95 (aka TM1 9.5.1) no error was reported (but the feeder almost certainly didn't work).
Under TM1 9.5.2, the rules engine (correctly) flagged it as an error.
Don't recall changes to rules validation being highlighted in the release docs, so thought it worth bringing to the community's attention.
Support have confirmed the change (while disagreeing that it is an inconsistency :?: ) and also cited
https://www-304.ibm.com/support/docvie ... g21568274
Have also noticed this as part of our 9.5.2 upgrade. Basically any erroneous second and subsequent references to the same dimension within square brackets (or element references beyond a single instance not within the curly braces signifying an element array) were previously ignored by the rules syntax checker but are now (correctly) picked up. I wasn't too concerned about it since it corrected what was previously an unnoticed bug and allowed us to pick up a handful of likewise unnoticed errors in some rules.

I don't quite see how IBM would see it as not being an inconsistency though! ... and the support link also would seem to me to be talking about another tightening of the rules syntax checker versus the one you pointed out.
Jeroen Eynikel
Community Contributor
Posts: 139
Joined: Mon Sep 15, 2008 1:45 pm

Re: 9.5.2 - New Features and Issues

Post by Jeroen Eynikel »

I found a rather annoying bug in 9.5.2 x64 at least (don't know whether it also occurs in 9.5.2 x86)

Problem description

Process 1 calls (executeprocess) Process 2 that does metadata updates.

=> Metadata is not updated.

FP1 seems to fix this though.

Jeroen
Post Reply