Hi,
I have one problem where i want to sum up last six month figure.
Example:
Let say current month is July, and the closing balance for july is to add figure for july+jun+may+apr+mar+feb.
I can use attribute (attrs) to do this , that is will add 6 attrs in the Date Dimension.
Attr 1: Prev Month
Attr 2: Prev 2 month
etc
Any other way to do this except using attribute?
Thanks
Sum up last 6 month figure
-
- Site Admin
- Posts: 6667
- 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: Sum up last 6 month figure
As you've found you could do it through rules, but to be honest I wouldn't. Consolidations are going to be much better performance-wise, and considerably more transparent to users. I'd be more inclined to schedule a TI which ran overnight at month end and created/recreated a consolidation using the preceding 6 month elements.lkyow wrote:Hi,
I have one problem where i want to sum up last six month figure.
Example:
Let say current month is July, and the closing balance for july is to add figure for july+jun+may+apr+mar+feb.
I can use attribute (attrs) to do this , that is will add 6 attrs in the Date Dimension.
Attr 1: Prev Month
Attr 2: Prev 2 month
etc
Any other way to do this except using attribute?
"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.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Posts: 8
- Joined: Fri Mar 11, 2011 9:10 am
- OLAP Product: TM1
- Version: 9.5.0
- Excel Version: 2007
Re: Sum up last 6 month figure
Hi Alan,As you've found you could do it through rules, but to be honest I wouldn't. Consolidations are going to be much better performance-wise, and considerably more transparent to users. I'd be more inclined to schedule a TI which ran overnight at month end and created/recreated a consolidation using the preceding 6 month elements.
How do you do consolidation using preceding 6 month element? I am new to TM1
Thanks
-
- Posts: 54
- Joined: Tue Jun 15, 2010 1:43 pm
- OLAP Product: Cognos TM1
- Version: 9.0 - 10.2
- Excel Version: 2010
Re: Sum up last 6 month figure
hello,
I think Alan might be getting toward a TI to construct the DATE dimension overnight to take the following
if current month = "JUN"
-then last 6 month figure would be summation:
--JUN
--MAY
--APR
--MAR
--FEB
--JAN
There are many ways you can do this but a TI would be your best (most time efficient) bet.
I think Alan might be getting toward a TI to construct the DATE dimension overnight to take the following
if current month = "JUN"
-then last 6 month figure would be summation:
--JUN
--MAY
--APR
--MAR
--FEB
--JAN
There are many ways you can do this but a TI would be your best (most time efficient) bet.
-
- Posts: 8
- Joined: Fri Mar 11, 2011 9:10 am
- OLAP Product: TM1
- Version: 9.5.0
- Excel Version: 2007
Re: Sum up last 6 month figure
Hi ellissj3hello,
I think Alan might be getting toward a TI to construct the DATE dimension overnight to take the following
if current month = "JUN"
-then last 6 month figure would be summation:
--JUN
--MAY
--APR
--MAR
--FEB
--JAN
But the Date Hierarchy in my cube should be
+FY 2011
+Q1
-Jan
-Feb
-Mar
+Q2
-Apr
-May
-Jun
etc
So, if i follow this Date Hierarchy that you suggested,
+FY2011
+Q1
+Jan11
- Jan11
- Dec10
- Nov10
- Oct10
- Sep10
- Aug10
etc
So I cant get the hierarchy that my cube needed as the first example? So how do I do it?
Thanks
-
- Posts: 40
- Joined: Mon Mar 01, 2010 2:53 pm
- OLAP Product: TM1
- Version: 9.5 9.5.1 9.5.2
- Excel Version: 2007
Re: Sum up last 6 month figure
Hi lkyow,lkyow wrote:Hi ellissj3
But the Date Hierarchy in my cube should be
+FY 2011
+Q1
-Jan
-Feb
-Mar
+Q2
-Apr
-May
-Jun
etc
So, if i follow this Date Hierarchy that you suggested,
+FY2011
+Q1
+Jan11
- Jan11
- Dec10
- Nov10
- Oct10
- Sep10
- Aug10
etc
So I cant get the hierarchy that my cube needed as the first example? So how do I do it?
Thanks
The way we implemented this kind of behavior, is to leverage the ability of TM1 to support multiple hierarchies. Do not forget to adjust de weights of the "last 6 months" consolidations to 0 (so that number will not be consolidated in higher consolidations).
+FY2011 (+1)
+Q1 11 (+1)
-Jan11 (+1)
+Jan11 last 6 months (0)
- Jan11 (+1)
- Dec10 (+1)
- Nov10 (+1)
- Oct10 (+1)
- Sep10 (+1)
- Aug10 (+1)
Or you can also create a brand new hierarchy tree for all the "last 6 months" consolidations as in:
+FY2011 last 6 months
+Jan11 last 6 months (0)
- Jan11 (+1)
- Dec10 (+1)
- Nov10 (+1)
- Oct10 (+1)
- Sep10 (+1)
- Aug10 (+1)
+Feb11 last 6 months (0)
- Feb11 (+1)
- Jan11 (+1)
- Dec10 (+1)
- Nov10 (+1)
- Oct10 (+1)
- Sep10 (+1)
Hope this helps.
Cheers!
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
-
- Posts: 8
- Joined: Fri Mar 11, 2011 9:10 am
- OLAP Product: TM1
- Version: 9.5.0
- Excel Version: 2007
Re: Sum up last 6 month figure
Hi csjean,Or you can also create a brand new hierarchy tree for all the "last 6 months" consolidations as in:
Can we create multiple hierarchy in a single Date Dimension?
-
- Posts: 40
- Joined: Mon Mar 01, 2010 2:53 pm
- OLAP Product: TM1
- Version: 9.5 9.5.1 9.5.2
- Excel Version: 2007
Re: Sum up last 6 month figure
Yes. TM1 doesn't differentiate between time dimensions and other types of dimensions.lkyow wrote: Hi csjean,
Can we create multiple hierarchy in a single Date Dimension?
The only problem you might have is if you use Cognos 8 as a reporting tool. I just don't know if C8 supports multiple hierarchies for time dimension.
I know it does support multiple hierarchies for other types of dimensions.
Cheers!
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca
--
Claude-Sebastien Jean
Senior Consultant in Information Technology
Keyrus Canada
www.keyrus.ca