Hi,
In the Measure Dimension, I have the consolidations defined for three categories A, B and there are elements present in them. The Summation of different measures is happening at the Consolidation level which is not correct and I want to make it to zero. I have applied as below but it throws the error as element is ambigous. Any Ideas??
[{'A', 'B'} ] = C: 0;
Thanks in Advance
Force the Measure Elements at Consolidation
-
- Posts: 44
- Joined: Thu May 01, 2014 12:46 pm
- OLAP Product: Cognos TM1
- Version: 10.2
- Excel Version: 2010
-
- MVP
- Posts: 733
- Joined: Wed May 14, 2008 11:06 pm
Re: Force the Measure Elements at Consolidation
If you have an element named 'A' in more than one dimension in the same cube then the rules for that cube need to specify which dimension e.g.:
Code: Select all
[{ 'dim1':'A', 'dim1':'B' }] = C: 0;
Robin Mackenzie
-
- Posts: 44
- Joined: Thu May 01, 2014 12:46 pm
- OLAP Product: Cognos TM1
- Version: 10.2
- Excel Version: 2010
Re: Force the Measure Elements at Consolidation
Thanks a lot. It is working as expected if I define it separately for each element as below:
['dim1':'A'] = C: 0;
['dim1':'B'] = C: 0;
But when I define as [{ 'dim1':'A', 'dim1':'B' }] = C: 0; , it gives me error.
['dim1':'A'] = C: 0;
['dim1':'B'] = C: 0;
But when I define as [{ 'dim1':'A', 'dim1':'B' }] = C: 0; , it gives me error.
-
- MVP
- Posts: 3241
- 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: Force the Measure Elements at Consolidation
The exact syntax is different:
Code: Select all
['dim1':{'A','B'}] = C: 0;
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
-
- MVP
- Posts: 733
- Joined: Wed May 14, 2008 11:06 pm
Re: Force the Measure Elements at Consolidation
Thanks for the correction, Wim, I was doing it totally off the top of my head. 

Robin Mackenzie
-
- MVP
- Posts: 3241
- 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: Force the Measure Elements at Consolidation
No problem Robin, you're welcome.
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