Dataspreading by rule?
Posted: Fri Aug 16, 2013 9:09 am
Hi Guys,
Are there some best practises how to make a dataspreading rule?
I have written this rule:
['Maintenance cost'] = N: IF(ATTRN('Time', !Time, 'workdays') = 1,
(DB('General costs', 'Maintenance cost', ELPAR('Time', !Time, 1)) \
ATTRN('Time', ELPAR('Time', !Time, 1), 'workdays')),
0);
At the source cube I have a time dimension with month at the leaf level, and at the target cube the days are the leaf.
It is not a complicated rule, but...
- It is just spreading over one dimension. If I want to spread the data over 2 or 3 or 8 dimensions, the rule becomes very-very complex.
- It is just equal spreading. If I want propartional spread, the rule is more complex.
- The months are consolidated by the days. If I add a new level(week) between the months and days, I have to rewrite all my spreading rule (because of ELPAR functions).
So I'm looking for the best practise. Could anybody help me?
Thx,
Matya
Are there some best practises how to make a dataspreading rule?
I have written this rule:
['Maintenance cost'] = N: IF(ATTRN('Time', !Time, 'workdays') = 1,
(DB('General costs', 'Maintenance cost', ELPAR('Time', !Time, 1)) \
ATTRN('Time', ELPAR('Time', !Time, 1), 'workdays')),
0);
At the source cube I have a time dimension with month at the leaf level, and at the target cube the days are the leaf.
It is not a complicated rule, but...
- It is just spreading over one dimension. If I want to spread the data over 2 or 3 or 8 dimensions, the rule becomes very-very complex.
- It is just equal spreading. If I want propartional spread, the rule is more complex.
- The months are consolidated by the days. If I add a new level(week) between the months and days, I have to rewrite all my spreading rule (because of ELPAR functions).
So I'm looking for the best practise. Could anybody help me?
Thx,
Matya