Force the Measure Elements at Consolidation

Post Reply
krithika331
Posts: 44
Joined: Thu May 01, 2014 12:46 pm
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: 2010

Force the Measure Elements at Consolidation

Post by krithika331 »

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
rmackenzie
MVP
Posts: 733
Joined: Wed May 14, 2008 11:06 pm

Re: Force the Measure Elements at Consolidation

Post by rmackenzie »

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
krithika331
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

Post by krithika331 »

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.
Wim Gielis
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

Post by Wim Gielis »

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
rmackenzie
MVP
Posts: 733
Joined: Wed May 14, 2008 11:06 pm

Re: Force the Measure Elements at Consolidation

Post by rmackenzie »

Thanks for the correction, Wim, I was doing it totally off the top of my head. :oops:
Robin Mackenzie
Wim Gielis
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

Post by Wim Gielis »

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
Post Reply