Chengooi wrote:I was trying to find help for what this line actually do, was it to initialise the element actual ?
['Oct-08','Test'] =N: ['Oct-08','Actual'];
I'm not following you.
The purpose of a rule is to calculate an "area" (range of values) of the cube based on values stored in another area of the cube (or other cubes), as well as possibly some constants or mathematical functions.
That means that in the line that you've cited, any cell in the cube which contains the elements "Oct-08" and "Test" will return the same values as a cell which uses "Oct-08" and "Actual" in the corresponding dimensions. Since you've specified "N:", This will only be true for N level values; consolidations will be calculated normally.
So in a 5 dimensional cube where those two are the first dimension, you'll end up with a situation where:
DBRW("YourCube", "Oct-08","Test","Dim3Element1", "Dim4Element1", "Dim5Element1")
will return exactly the same value as
DBRW("YourCube", "Oct-08","Actual","Dim3Element1", "Dim4Element1", "Dim5Element1")
and
DBRW("YourCube", "Oct-08","Test","Dim3Element1", "Dim4Element1", "Dim5Element2")
will return exactly the same value as
DBRW("YourCube", "Oct-08","Actual","Dim3Element1", "Dim4Element1", "Dim5Element2")
and so on for every N level element in dimensions 3, 4 and 5.
There's nothing to "initialise"; in that rule you're simply telling TM1 that you want to use the "Actual" values to populate the corresponding "Test" values. Actual is the element that you're drawing
from, it's
Test that's calculated. If this rule is applied, you'll still be able to make entries to the Actual element, but not the Test one.
As per Steve's suggestion, it might be an idea to work through the Rules manual; all of us cut our teeth on the Fishcakes examples at some point. David Friedlander did a good job of explaining how they work.