TM1 Rule BY REFERENCE instead of default BY VALUE

Post Reply
John Hammond
Community Contributor
Posts: 300
Joined: Mon Mar 23, 2009 10:50 am
OLAP Product: PAW/PAX 2.0.72 Perspectives
Version: TM1 Server 11.8.003
Excel Version: 365 and 2016
Location: South London

TM1 Rule BY REFERENCE instead of default BY VALUE

Post by John Hammond »

Consider

Actuals N
Scenarios C
Scenario1 N
Scenario2 N
...
Scenario99 N

We want to rule all scenarios to show actuals for the first 2 quarters

['Scenarios',{'Q1','Q2'}] = N: ['Actuals'] ;

FEEDERS ;

['Actuals','Q1'] => ['Scenarios','Q1'] ;
['Actuals','Q2'] => ['Scenarios','Q2'] ;

Now consider we have 99 scenarios: what these rules do feed 99 blank copies of Actuals for the first 2 quarters which are populated with values when any of the scenarios has q1 or q2 data accessed ( in a view or a TI etc).

These 99 copies take time on cube start up but they contain purely redundant information. In old style programming terms we can refer to a variable by a pointer BY REFERENCE or pass or copy the variable BY VALUE.

If we use BY REFERENCE we effectively inform the interpreter/compiler to look at a single copy of the Actuals data and there is no redundancy.

Forecasting is commonly where a known stream splits into several scenarios. Tm1, being a good forecasting tool, may have solved this problem.

I wonder is there a facility to refer to a single reference to actuals rather than making multiple copies. Is there plans to introduce something like this in the future or is the copy approach going to be acceptable now we have faster 64 bit machines with bags of memory.

Thanks

John
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: TM1 Rule BY REFERENCE instead of default BY VALUE

Post by Martin Ryan »

Rules are by reference. There is still only ever one copy of the actuals, however they are shown in all 99 of your scenarios. You can prove this by updating an actual number, all 99 scenarios will be updated.

There's really no way around your problem in TM1 itself, but you could easily accommodate it in an Excel/BI/TM1 Web report.

Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Post Reply