Rule On consolidation which matches the natural consolidation

Post Reply
MarenC
Regular Participant
Posts: 436
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Rule On consolidation which matches the natural consolidation

Post by MarenC »

Hi,

I have inherited a model which includes a rule that puzzles me and wondered if anyone may know of a use case for what I am seeing.

In a dimension there is a consolidation called "Parent" which comprises 3 children, "Element 1", "Element 2" and "Element 3", all with weight 1.

There is a cube which includes the above dimension, with the following rule:

Code: Select all

['Parent'] = ['Element 1'] + ['Element 2'] + ['Element 3'];
Is there a situation where it is necessary to have a rule which matches the consolidation?

Maren
Wim Gielis
MVP
Posts: 3230
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: Rule On consolidation which matches the natural consolidation

Post by Wim Gielis »

Interesting question.
I take a guess: a cube with rules at level 0 for these elements and without skipcheck and feeders ?
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
MVP
Posts: 3230
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: Rule On consolidation which matches the natural consolidation

Post by Wim Gielis »

Or, child weights in the parent are not all 1 for some reason (different cube maybe) and here you need the sum where weights equal 1.
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
lotsaram
MVP
Posts: 3702
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Rule On consolidation which matches the natural consolidation

Post by lotsaram »

Wim Gielis wrote: Thu Feb 06, 2025 10:26 am Or, child weights in the parent are not all 1 for some reason (different cube maybe) and here you need the sum where weights equal 1.
But this you could resolve just with another rollup with different weights.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
MarenC
Regular Participant
Posts: 436
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Rule On consolidation which matches the natural consolidation

Post by MarenC »

Hi,

I don't think the weights are relevant as they are all 1, and lotsaram said, why would it be an issue?

Code: Select all

a cube with rules at level 0 for these elements and without skipcheck and feeders
Skipcheck and Feeder are included in the rule. There is an n level rule for the children, but they are complicated and there looks to be feeder statements in place for the children (but these are DB(If...) type feeders).

Maybe someone wasn't convinced by the feeders so put these rules in as a backstop? Does that even make sense?

Maren
Wim Gielis
MVP
Posts: 3230
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: Rule On consolidation which matches the natural consolidation

Post by Wim Gielis »

lotsaram wrote: Thu Feb 06, 2025 11:30 am
Wim Gielis wrote: Thu Feb 06, 2025 10:26 am Or, child weights in the parent are not all 1 for some reason (different cube maybe) and here you need the sum where weights equal 1.
But this you could resolve just with another rollup with different weights.
Correct but then elements are named differently, element security might need to be set up, reporting / dashboarding could change. Maybe a quick and (very) dirty way to “solve” it. As weights are 1 anyway it cannot be the reason though. Just wanted to add it as a potential reason.
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
User avatar
Elessar
Community Contributor
Posts: 412
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Rule On consolidation which matches the natural consolidation

Post by Elessar »

Hello,

I cannot see "N:" here. So I assume this rule is needed to override calculations on C: level
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 10th article - AI has failed TM1 Quiz.
MarenC
Regular Participant
Posts: 436
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Rule On consolidation which matches the natural consolidation

Post by MarenC »

Hi Elessar,
I cannot see "N:" here. So I assume this rule is needed to override calculations on C: level
That's a good thought, but if I comment out the rule, then the value just uses the consolidation and doesn't revert back to another rule.

I.e. trace cell just says consolidation and not any defined rule, and the value remains unchanged.

Maren
ascheevel
Community Contributor
Posts: 312
Joined: Fri Feb 15, 2013 5:49 pm
OLAP Product: TM1
Version: PA 2.0.9.1
Excel Version: 365
Location: Minneapolis, USA

Re: Rule On consolidation which matches the natural consolidation

Post by ascheevel »

If I had to guess, 'Parent' used to be a leaf element and someone used that rule to make it the sum of the 3 other elements. Someone else came along later (or same person got a tiny bit wiser) and decided to make 'Parent' a real consolidation with the 3 as children and then forgot to remove the original rule.
Post Reply