Consolidation
-
- Posts: 32
- Joined: Wed Nov 14, 2012 5:37 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007 STARDAND
Consolidation
Guys, good afternoon!
I have a consolidation issue and would like your help.
Someone has had to realize this situation.
According to print, I have two dimensions (02.Functional_code and 02.MVS).
At the lowest level of functional code, the values I need are set.
When I go up to Functional Total, by hierarchical default, the values are summed in total.
But I need the values of the lowest level of functional code, as selected in red, to be replicated in Functional Total.
All the consolidation functions I have already used and did not give the expected result.
If anyone has any suggestions it will be of great help.
I have a consolidation issue and would like your help.
Someone has had to realize this situation.
According to print, I have two dimensions (02.Functional_code and 02.MVS).
At the lowest level of functional code, the values I need are set.
When I go up to Functional Total, by hierarchical default, the values are summed in total.
But I need the values of the lowest level of functional code, as selected in red, to be replicated in Functional Total.
All the consolidation functions I have already used and did not give the expected result.
If anyone has any suggestions it will be of great help.
- Attachments
-
- Cube.jpg (145.34 KiB) Viewed 5586 times
-
- MVP
- Posts: 3234
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Consolidation
Show us your rules at C level.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
- Steve Rowe
- Site Admin
- Posts: 2456
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: Consolidation
You should think about your approach too, what you appear to be doing is likely to be very very inefficient.
You appear to want to see the same values at all levels on the function and MVS dimensions. Even each of the dimensions only has 10 members than you are holding these data points 100 times more often than you need to.
Either do the work in another cube without those dimensions
or (perhaps more practical)
Put a "No Function" and "No MVS" member in each dimension and do the work against only those elements. You can then allow the C level rules to naturally consolidate.
Hope this Helps.
You appear to want to see the same values at all levels on the function and MVS dimensions. Even each of the dimensions only has 10 members than you are holding these data points 100 times more often than you need to.
Either do the work in another cube without those dimensions
or (perhaps more practical)
Put a "No Function" and "No MVS" member in each dimension and do the work against only those elements. You can then allow the C level rules to naturally consolidate.
Hope this Helps.
Technical Director
www.infocat.co.uk
www.infocat.co.uk
- PavoGa
- MVP
- Posts: 622
- Joined: Thu Apr 18, 2013 6:59 pm
- OLAP Product: TM1
- Version: 10.2.2 FP7, PA2.0.9.1
- Excel Version: 2013 PAW
- Location: Charleston, Tennessee
Re: Consolidation
I think I'm with Steve on this, but if this is the structure you want, have you tried the MAX() function? Assuming not all the Functional and MVS leaves are populated, that should work. If all are populated, then simply get the values of the first component in the Total Functional consolidation. The latter would be faster, I believe, in terms of execution time.
Ty
Cleveland, TN
Cleveland, TN
-
- Posts: 32
- Joined: Wed Nov 14, 2012 5:37 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007 STARDAND
Re: Consolidation
Hi Wim,
At level C I have only
['Functional Total', 'Park'] = C: ConsolidatedAvG (2, 'CMU.CALCULO_ESTOQUE_MVS_CALC',! 05.Version,! 05.Cenario,! 04.Month,! 04.Market,! 02 .Channel_Expenses,! 02.Group_companies,! 02.MVS,! 02.Functional_code, 'Park');
The rest of the rule is below:
['Park'] = N: IF (ATTRN ('04 .Year ',! 04.Year,' YEAR_NUMBER ')> DB (' CMU.PARAMETROS_CANAL_DESES ',! 05.Version,! 05.Scenario,' Apply Filters' ,! 02.Group_companies, 'P00', 'Year Ini') &
ATTRN ('04 .Year ',! 04.Year,' YEAR_NUMBER ') <DB (' CMU.PARAMETERS_Channel_DESES ',! 05.Version,! 05.Cenario,' Apply Filters',! 02.Group_companies, 'P00', 'Year Fin'),
DB ('CMU.PARQUE_FUNCIONAL',! 05.Version,! 05.Cenario,! 04.Month,! 04.Year, DB ('CMU.PARAMETERS_CANAL_DESES',! 05.Version,! 05.Cenario, 'Apply Filters' ,! 02.Company_Group,! 02.Channel_Expense, 'Reference Date'),
! 02.Market,! 02.Group_companies,! 02.Functional_code,! 02.MVS, 'QTY_VEI'), CONTINUE);
['Park'] = N: IF (ATTRN ('04 .Year ',! 04.Year,' YEAR_NUMBER ') = DB (' CMU.PARAMETROS_CANAL_DESES ',! 05.Version,! 05.Scenario,' Apply Filters' ,! 02.Group_companies, 'P00', 'Year Ini') &
ATTRN ('04 .Year ',! 04.Year,' YEAR_NUMBER ') = DB (' CMU.PARAMETERS_CANAL_DESHESE ',! 05.Version,! 05.Cenario,' Apply Filters',! 02.Group_companies,! 02.Channel_Expenses , 'Year Fin') &
ATTRN ('04 .Months',! 04.Months, 'Months')> = DB (' CMU.PARAMETROS_CANAL_DESESAS ',! 05.Version,! 05.Cenario,' Apply Filters',! 02.Group_companies, 'P00' , 'Month Ini') &
ATTRN ('04 .Months',! 04.Months, 'Months') <= DB (' CMU.PARAMETROS_CANAL_DESESAS ',! 05.Version,! 05.Cenario,' Apply Filters',! 02.Group_companies, 'P00' , 'Month Fin'),
DB ('CMU.PARQUE_FUNCIONAL',! 05.Version,! 05.Cenario,! 04.Month,! 04.Year, DB ('CMU.PARAMETERS_CANAL_DESES',! 05.Version,! 05.Cenario, 'Apply Filters' ,! 02.Company_Group,! 02.Channel_Expense, 'Reference Date'),
! 02.Market,! 02.Group_companies,! 02.Functional_code,! 02.MVS, 'QTY_VEI'), CONTINUE);
['Park'] = N: IF (ATTRN ('04 .Year ',! 04.Year,' YEAR_NUMBER ') = DB (' CMU.PARAMETROS_CANAL_DESES ',! 05.Version,! 05.Scenario,' Apply Filters' ,! 02.Group_companies, 'P00', 'Year Ini') &
ATTRN ('04 .Months',! 04.Months, 'Months')> = DB (' CMU.PARAMETROS_CANAL_DESESAS ',! 05.Version,! 05.Cenario,' Apply Filters',! 02.Group_companies, 'P00' , 'Month Ini') &
DB ('CMU.PARAMETROS_CANAL_DESESAS',! 05.Version,! 05.Cenario, 'Apply Filters',! 02.Group_companies, 'P00', 'Year Ini') <> DB ('CMU.PARAM_CANAL_DESESAS',! 05. Version,! 05.Cenario, 'Apply Filters',! 02.Group_companies, 'P00', 'Year Fin'),
DB ('CMU.PARQUE_FUNCIONAL',! 05.Version,! 05.Cenario,! 04.Month,! 04.Year, DB ('CMU.PARAMETERS_CANAL_DESES',! 05.Version,! 05.Cenario, 'Apply Filters' ,! 02.Company_Group,! 02.Channel_Expense, 'Reference Date'),
! 02.Market,! 02.Group_companies,! 02.Functional_code,! 02.MVS, 'QTY_VEI'), CONTINUE);
['Park'] = N: IF (ATTRN ('04 .Year ',! 04.Year,' YEAR_NUMBER ') = DB (' CMU.PARAMETROS_CANAL_DESES ',! 05.Version,! 05.Scenario,' Apply Filters' ,! 02.Group_companies, 'P00', 'Year Fin') &
ATTRN ('04 .Months',! 04.Months, 'Months') <= DB (' CMU.PARAMETROS_CANAL_DESESAS ',! 05.Version,! 05.Cenario,' Apply Filters',! 02.Group_companies, 'P00' , 'Month Fin') &
DB ('CMU.PARAMETROS_CANAL_DESESAS',! 05.Version,! 05.Cenario, 'Apply Filters',! 02.Group_companies, 'P00', 'Year Ini') <> DB ('CMU.PARAM_CANAL_DESESAS',! 05. Version,! 05.Cenario, 'Apply Filters',! 02.Group_companies, 'P00', 'Year Fin'),
DB ('CMU.PARQUE_FUNCIONAL',! 05.Version,! 05.Cenario,! 04.Month,! 04.Year, DB ('CMU.PARAMETERS_CANAL_DESES',! 05.Version,! 05.Cenario, 'Apply Filters' ,! 02.Company_Group,! 02.Channel_Expense, 'Reference Date'),
! 02.Market,! 02.Group_companies,! 02.Functional_code,! 02.MVS, 'QTD_VEI'), 0);
-
- MVP
- Posts: 3234
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Consolidation
Thanks but first focus on the replies that others have written for you.
Also, the need to use numbers in dimension names escapes me. Why do you do that ?
Also, the need to use numbers in dimension names escapes me. Why do you do that ?
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 32
- Joined: Wed Nov 14, 2012 5:37 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007 STARDAND
Re: Consolidation
Hi Steve,Steve Rowe wrote: ↑Fri Jan 03, 2020 2:40 pm You should think about your approach too, what you appear to be doing is likely to be very very inefficient.
You appear to want to see the same values at all levels on the function and MVS dimensions. Even each of the dimensions only has 10 members than you are holding these data points 100 times more often than you need to.
Either do the work in another cube without those dimensions
or (perhaps more practical)
Put a "No Function" and "No MVS" member in each dimension and do the work against only those elements. You can then allow the C level rules to naturally consolidate.
Hope this Helps.
The problem is that for MVS the dimension has 3 levels.
In the image I left the totalizer hidden.
But could you better explain your suggestion anyway?
-
- Posts: 32
- Joined: Wed Nov 14, 2012 5:37 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007 STARDAND
Re: Consolidation
Hi Pavoga,PavoGa wrote: ↑Fri Jan 03, 2020 7:12 pm I think I'm with Steve on this, but if this is the structure you want, have you tried the MAX() function? Assuming not all the Functional and MVS leaves are populated, that should work. If all are populated, then simply get the values of the first component in the Total Functional consolidation. The latter would be faster, I believe, in terms of execution time.
Already tried, but it did not work, because if he brings the MAX, will not meet the other items of the Hierarchy that have other values.
Since the hierarchy has 3 levels, the idea would be to replicate the values from level 0 to level 1 and this would be reflected in the "Functional Total".
-
- Posts: 32
- Joined: Wed Nov 14, 2012 5:37 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007 STARDAND
Re: Consolidation
Hi Wim,Wim Gielis wrote: ↑Fri Jan 03, 2020 10:34 pm Thanks but first focus on the replies that others have written for you.
Also, the need to use numbers in dimension names escapes me. Why do you do that ?
Thanks for the answer.
I am evaluating each point and have been working on it for two days.
Regarding the number of dimensions, it is a development pattern that I use to separate measurement dimensions (01), hierarchical dimensions (02), nonhierarchical dimensions (03), time dimensions (04), version dimensions, and scenarios (05 ).
This was a standard used by the planning analyst.
-
- MVP
- Posts: 3234
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Consolidation
I wouldn't call it useless, but I see much more of an annoyance than practical usage. I have never seen this practice the last 12+ years.aleferrer wrote: ↑Fri Jan 03, 2020 10:53 pmI am evaluating each point and have been working on it for two days.
Regarding the number of dimensions, it is a development pattern that I use to separate measurement dimensions (01), hierarchical dimensions (02), nonhierarchical dimensions (03), time dimensions (04), version dimensions, and scenarios (05 ).
This was a standard used by the planning analyst.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 32
- Joined: Wed Nov 14, 2012 5:37 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007 STARDAND
Re: Consolidation
I have been developing this way for about 10 years.Wim Gielis wrote: ↑Fri Jan 03, 2020 11:03 pmI wouldn't call it useless, but I see much more of an annoyance than practical usage. I have never seen this practice the last 12+ years.aleferrer wrote: ↑Fri Jan 03, 2020 10:53 pmI am evaluating each point and have been working on it for two days.
Regarding the number of dimensions, it is a development pattern that I use to separate measurement dimensions (01), hierarchical dimensions (02), nonhierarchical dimensions (03), time dimensions (04), version dimensions, and scenarios (05 ).
This was a standard used by the planning analyst.
Never had any problems. So I'm following.rsrs
-
- MVP
- Posts: 3234
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Consolidation
Create an element (numeric type, level 0) called 'No Function'. Add it as a child of 'Functional Total'.
That element contains the values that you now put on all the other elements. The other elements should not consolidate into the total, but the 'No Function' element should.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 32
- Joined: Wed Nov 14, 2012 5:37 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2007 STARDAND
Re: Consolidation
Hi Wim,Wim Gielis wrote: ↑Fri Jan 03, 2020 11:28 pmCreate an element (numeric type, level 0) called 'No Function'. Add it as a child of 'Functional Total'.
That element contains the values that you now put on all the other elements. The other elements should not consolidate into the total, but the 'No Function' element should.
It worked.
Thanks to you and Stive for your help.