Hi:
For a report users require a variance calculation between different years, for example, 2016 and 2015. For this a consolidated element has been created called '2016 YTD Difference' which includes element 2016 with a weight of 1 and 2015 as a weight of -1. This calculation works fine, except when it comes to percentages, for example:
I understand that this does not work at a consolidated level. How would I get the above in 'Written Commission %' '2016 YTD Difference' '3 LTD' to give me (1.41%)?
Many thanks for your assistance in advance.
Weighted variance consolidation not working
-
- MVP
- Posts: 1831
- Joined: Mon Dec 05, 2011 11:51 am
- OLAP Product: Cognos TM1
- Version: PA2.0 and most of the old ones
- Excel Version: All of em
- Location: Manchester, United Kingdom
- Contact:
Re: Weighted variance consolidation not working
Just put a C-Level rule for the % elements e.g.
You can of course expand the basic concept to include all of your various percentage elements and year combos.
EDIT - Make sure to consider the placement in relation to other rule statements you have; keeping statement precedence in mind.
And another Edit for of/off typo.
Code: Select all
['YearDimension':'2016 YTD Difference','MeasureDimension':'Written Commission']=C:
['YearDimension':'2016'] - ['YearDimension':'2015'];
EDIT - Make sure to consider the placement in relation to other rule statements you have; keeping statement precedence in mind.
And another Edit for of/off typo.
Last edited by declanr on Fri Mar 11, 2016 11:26 am, edited 2 times in total.
Declan Rodger
-
- Posts: 78
- Joined: Wed Jul 31, 2013 4:32 am
- OLAP Product: Cognos TM1, EP, Analyst
- Version: 10.2.2
- Excel Version: 2013
- Location: Sydney AU
Re: Weighted variance consolidation not working
I would prefer to apply ConsolidateChildren to the year dimension, such as:
['YearDimension':'2016 YTD Difference','MeasureDimension':'Written Commission']=C:
ConsolidateChildren('YearDimension');
['YearDimension':'2016 YTD Difference','MeasureDimension':'Written Commission']=C:
ConsolidateChildren('YearDimension');
MK
-
- Posts: 67
- Joined: Wed Sep 02, 2015 3:09 pm
- OLAP Product: TM1
- Version: 10_2_2
- Excel Version: 2010
Re: Weighted variance consolidation not working
Thank you - this works perfectly.