Minimum in consolidation
-
- Posts: 71
- Joined: Mon Jul 20, 2009 8:52 am
- OLAP Product: TM1
- Version: 9.5 Build 9.5.00100.2380
- Excel Version: 2003
Minimum in consolidation
Hello,
I would like to write a rule which gives me:
a) the minimum for the consolidation of a dimension
b) the value of the last child for the dimension consolidation
So I need something like: ['All Elements'] = MIN('All Children');
As stated in the examples, the average is calculated with one measures has a count value and then I would divide the sum trough the counter.
At the moment I do not have an idea how to convert this approach to MINIMUM and LASTCHILD.
Is there a standard-way for doing this?
Thanks a lot for your help!
Toto
I would like to write a rule which gives me:
a) the minimum for the consolidation of a dimension
b) the value of the last child for the dimension consolidation
So I need something like: ['All Elements'] = MIN('All Children');
As stated in the examples, the average is calculated with one measures has a count value and then I would divide the sum trough the counter.
At the moment I do not have an idea how to convert this approach to MINIMUM and LASTCHILD.
Is there a standard-way for doing this?
Thanks a lot for your help!
Toto
- Elessar
- Community Contributor
- Posts: 413
- Joined: Mon Nov 21, 2011 12:33 pm
- OLAP Product: PA 2
- Version: 2.0.9
- Excel Version: 2016
- Contact:
Re: Minimum in consolidation
Try ConsolidatedMin:
http://www-01.ibm.com/support/docview.w ... wg21472749
http://www-01.ibm.com/support/docview.w ... wg21472749
-
- MVP
- Posts: 3704
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Minimum in consolidation
Last Child can be achieved with a combination of ELCOMP(dim, par, ELCOMPN(dim, par))
- 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: Minimum in consolidation
I noticed that the Consolidated... functions are listed as TI only in the 10.1 (online) documentation.Elessar wrote:Try ConsolidatedMin:
http://www-01.ibm.com/support/docview.w ... wg21472749
Anyone here who tested whether this really is the case?
Michel
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: Minimum in consolidation
Michel, these functions were added in 9.5.2, but only documented in a technote.
Kamil Arendt
- 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: Minimum in consolidation
Hi Kamil,qml wrote:Michel, these functions were added in 9.5.2, but only documented in a technote.
I'm aware of that - what I noticed though is that in the technote the functions are listed as both rules and TI functions, while in the (on-line) 10.1 documentation (ref guide) the functions are listed as TI only.
I'm wondering whether this is an error in the documentation or whether something changed here...[spooky smiley required]
Michel
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: Minimum in consolidation
Ahh, gotcha. Sorry for misreading your post.
It's quite possible this is IBM's way of getting rid of the implementation and performance problems people were having with these functions when used in rules. They might have made them TI only instead of actually attempting to address these issues.

It's quite possible this is IBM's way of getting rid of the implementation and performance problems people were having with these functions when used in rules. They might have made them TI only instead of actually attempting to address these issues.



Kamil Arendt
-
- MVP
- Posts: 600
- Joined: Wed Aug 17, 2011 1:19 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2
- Excel Version: 2003 2007
- Location: York, UK
Re: Minimum in consolidation
I have tried them in a test model just to check functionality and performance.
They do work in rules but you will need to check them yourself as some of the flag parameters do not work quite as documented. I can't remember the exact details.
They are very different from ConsolidateChildren. Whereas that works with the direct children the ConsolidatedMin/Max/Avg/Count functions work directly off the leaf data in the same way as normal consolidation. As a result they use the feeder information and perform similarly to normal consolidation as well.
They do work in rules but you will need to check them yourself as some of the flag parameters do not work quite as documented. I can't remember the exact details.
They are very different from ConsolidateChildren. Whereas that works with the direct children the ConsolidatedMin/Max/Avg/Count functions work directly off the leaf data in the same way as normal consolidation. As a result they use the feeder information and perform similarly to normal consolidation as well.
-
- Posts: 71
- Joined: Mon Jul 20, 2009 8:52 am
- OLAP Product: TM1
- Version: 9.5 Build 9.5.00100.2380
- Excel Version: 2003
Re: Minimum in consolidation
Hello,
thanks for all your replies.
I have the following dimension structure:
All Units
--- Total of units per country
---- single unit
When I use the ConsolidateMin function for the level 'Total of units per country' the standard consolidation seems to aggregate the level 'Total of units per country' to the 'All Units'. So it would not be the aggregation of the leaf levels.
Another question: If the functions ConsolidatedMin/Max etc. are only documented/supported for TI-process, what other ways I could use to achieve this in rules?
Thanks again!
Toto
thanks for all your replies.
Is this the way the normal consolidation works/should work? So the sum of something should ALWAYS the sum of the leaf elements, and not the sum of the aggregated levels between leaf elements and the total elements?They are very different from ConsolidateChildren. Whereas that works with the direct children the ConsolidatedMin/Max/Avg/Count functions work directly off the leaf data in the same way as normal consolidation. As a result they use the feeder information and perform similarly to normal consolidation as well.
I have the following dimension structure:
All Units
--- Total of units per country
---- single unit
When I use the ConsolidateMin function for the level 'Total of units per country' the standard consolidation seems to aggregate the level 'Total of units per country' to the 'All Units'. So it would not be the aggregation of the leaf levels.
Another question: If the functions ConsolidatedMin/Max etc. are only documented/supported for TI-process, what other ways I could use to achieve this in rules?
Thanks again!
Toto
-
- MVP
- Posts: 600
- Joined: Wed Aug 17, 2011 1:19 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2
- Excel Version: 2003 2007
- Location: York, UK
Re: Minimum in consolidation
This is interesting. Is there any chance you could post the rule you are using and the relevant parts of the dimension structure?
-
- Posts: 71
- Joined: Mon Jul 20, 2009 8:52 am
- OLAP Product: TM1
- Version: 9.5 Build 9.5.00100.2380
- Excel Version: 2003
Re: Minimum in consolidation
Hi Duncan,
sorry, my mistake. It is as you said, the consolidation sums up the values from the leaf level.
So, only one question is open for me: If functions like ConsolidateMin, ConsolidateMax are only officially supported for TI-processes, which other options do I have in the rules editor?
Thank a lot to all of you!
Toto
sorry, my mistake. It is as you said, the consolidation sums up the values from the leaf level.
So, only one question is open for me: If functions like ConsolidateMin, ConsolidateMax are only officially supported for TI-processes, which other options do I have in the rules editor?
Thank a lot to all of you!
Toto
-
- MVP
- Posts: 600
- Joined: Wed Aug 17, 2011 1:19 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2
- Excel Version: 2003 2007
- Location: York, UK
Re: Minimum in consolidation
Hi Toto,
From http://www-01.ibm.com/support/docview.w ... wg21472749 which applies to 9.5.2
we have
we also have
Cheers,
Duncan.
From http://www-01.ibm.com/support/docview.w ... wg21472749 which applies to 9.5.2
we have
and from http://www-01.ibm.com/support/docview.w ... wg27024004 which applies to 10.1.0 (albeit only mentioning ConsolidatedMin in passing)These functions can be used in TurboIntegrator processes or Rules.
we also have
so it is at least documented somewhere as working in both versions.This function can be used in TurboIntegrator processes or Rules.
Cheers,
Duncan.