Hi!
Cube consist of two dimensions: balance and time.
Time has hierarchy:Year 1->Q->Months...Year n->Q->Months
For the 1 item of balance for the all Quarterly values instead of Consolidation(summation) i'll take first months of quarter.
I have 10 years with quarter and months.
How i can calculate this values automatically with function?
First period in time consolidation
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: First period in time consolidation
Create and populate an attribute to link the quarter back to the first month.
Depending on your naming convention you may be able to write a rule in the attribute cube to to the link automatically.
Depending on your naming convention you may be able to write a rule in the attribute cube to to the link automatically.
-
- Posts: 13
- Joined: Thu Jun 03, 2010 8:44 am
- OLAP Product: TM1, Transformer
- Version: TM1 9.5
- Excel Version: 2007
Re: First period in time consolidation
Can you give me construction of this expression?David Usherwood wrote:Create and populate an attribute to link the quarter back to the first month.
Depending on your naming convention you may be able to write a rule in the attribute cube to to the link automatically.
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: First period in time consolidation
If you post some examples of your dimension, yes.
- Michel Zijlema
- Site Admin
- Posts: 713
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: First period in time consolidation
You could use a rule to override the standard hierarchy consolidation with the value of the first month of the quarter, f.i.:Maxon wrote:Hi!
Cube consist of two dimensions: balance and time.
Time has hierarchy:Year 1->Q->Months...Year n->Q->Months
For the 1 item of balance for the all Quarterly values instead of Consolidation(summation) i'll take first months of quarter.
I have 10 years with quarter and months.
How i can calculate this values automatically with function?
['balance'] = C: IF(ElLev('period',!period) = 1, DB('Cube', ..., ElComp('period', !period, 1), ...), STET);
where ElLev determines the level of the element in the hierarchy and the quarters are assumed to be on level 1 and where ElComp determines the first child of the consolidated (quarter) element. If tha same logic applies to years (take first quarter) you could use ElLev('period',!period) > 0 instead of ElLev('period',!period) = 1.
Michel