Understanding Feeders
-
- 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
Understanding Feeders
Hi,
Just want to try and get my head around feeders and start with basics!
Imagine I have 2 cubes, CubeA and CubeB and I want to feed from CubeA to CubeB.
The rule in CubeB is as follows:
['Sales Amount'] = n: DB('CubeA', !Year, !Product, 'New Items', 'Sales');
Would I better in the feeder doing (method 1):
['Sales']=>DB('CubeB', 'Actuals', !Year, !Product, 'Sales Amount');
or would I be better with this (method 2):
['New Items', 'Sales']=>DB('CubeB', 'Actuals', !Year, !Product, 'Sales Amount');
Or putting the question another way, would method 1 be feeding more than method 2?
Maren
Just want to try and get my head around feeders and start with basics!
Imagine I have 2 cubes, CubeA and CubeB and I want to feed from CubeA to CubeB.
The rule in CubeB is as follows:
['Sales Amount'] = n: DB('CubeA', !Year, !Product, 'New Items', 'Sales');
Would I better in the feeder doing (method 1):
['Sales']=>DB('CubeB', 'Actuals', !Year, !Product, 'Sales Amount');
or would I be better with this (method 2):
['New Items', 'Sales']=>DB('CubeB', 'Actuals', !Year, !Product, 'Sales Amount');
Or putting the question another way, would method 1 be feeding more than method 2?
Maren
-
- 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: Understanding Feeders
You restrict the feeder on the left hand side of method 2, so wouldn’t make sense that it is less feeders in that case ?
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
-
- 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: Understanding Feeders
Thanks for the response Wim,
so what you are saying is there is no difference between method 1 and 2 because the determination of how many cells are fed would by looking at the right side of the feeder statement?
So in the following example method 1 would be feeding less than method 2:
Method1:
['Sales']=>DB('CubeB', 'Actuals', !Year, !Product, 'Sales Amount');
Method2:
['Sales']=>DB('CubeB', 'All Versions', !Year, !Product, 'Sales Amount');
Maren
so what you are saying is there is no difference between method 1 and 2 because the determination of how many cells are fed would by looking at the right side of the feeder statement?
So in the following example method 1 would be feeding less than method 2:
Method1:
['Sales']=>DB('CubeB', 'Actuals', !Year, !Product, 'Sales Amount');
Method2:
['Sales']=>DB('CubeB', 'All Versions', !Year, !Product, 'Sales Amount');
Maren
-
- 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: Understanding Feeders
You are confusing yourself with right and left.
The left-hand side of a feeder is different from the right-hand side. Did you check the documentation ?
The left-hand side of a feeder is different from the right-hand side. Did you check the documentation ?
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
-
- 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: Understanding Feeders
I have read the following,
In my second example in method 1 I used Actuals, which is a single element and in method 2 I used All Versions, which is a consolidation.
So in this example I would expect only actuals cells to be fed, whereas in method 2 I would expect cells for every version to be fed.
Have I got this all wrong and if possible could you please explain why?
Maren
From this I assumed, in my first example, that Method 2 would only feed the right hand side cells if there was a non zero value against element intersection New Items and sales, whereas Method 1 would only feed on the right if there was a non zero value against Sales."The feeder area identifies a component of a rules-derived value. When this component contains a non-zero value, a placeholder is fed to cells containing the rules-calculated value identified on the right-hand side of the statement. This placeholder alerts the TM1 consolidation engine to include the rules-derived value when performing consolidations."
In my second example in method 1 I used Actuals, which is a single element and in method 2 I used All Versions, which is a consolidation.
So in this example I would expect only actuals cells to be fed, whereas in method 2 I would expect cells for every version to be fed.
Have I got this all wrong and if possible could you please explain why?
Maren
-
- 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: Understanding Feeders
Feeders are a concept at level 0 in a dimension. I cannot know whether 'New Items' is level 0 or consolidated. If it is level 0, a feeder will be sent if its value for Actuals is non-zero (input data or fed itself).MarenC wrote: ↑Fri Nov 01, 2019 4:11 pmFrom this I assumed, in my first example, that Method 2 would only feed the right hand side cells if there was a non zero value against element intersection New Items and sales, whereas Method 1 would only feed on the right if there was a non zero value against Sales.
If it's a consolidated value, feeders will be sent for all of its descendants elements, as long as they are non-zero for Actuals (input data or fed themselves).
Example 1, method 1 will send at least as many feeders as example 1, method 2.
As said above, feeding towards a consolidated element on the right hand side is different. Again, feeding is a concept at level 0 in dimensions. By feeding a consolidated element, you implicitely feed all of its descendants elements. This is to be avoided wherever possible.
Correct.
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
-
- 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: Understanding Feeders
Thanks Wim, that helps!
-
- 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: Understanding Feeders
You also started other topics:
https://www.tm1forum.com/viewtopic.php?f=3&t=14994
https://www.tm1forum.com/viewtopic.php? ... 338#p74338
Any update there ?
https://www.tm1forum.com/viewtopic.php?f=3&t=14994
https://www.tm1forum.com/viewtopic.php? ... 338#p74338
Any update there ?
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
- gtonkin
- MVP
- Posts: 1261
- Joined: Thu May 06, 2010 3:03 pm
- OLAP Product: TM1
- Version: Latest and greatest
- Excel Version: Office 365 64-bit
- Location: JHB, South Africa
- Contact:
Re: Understanding Feeders
I often point new staff to this page:
https://www.ibm.com/developerworks/data ... ge620.html
https://www.ibm.com/developerworks/data ... ge620.html
-
- 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: Understanding Feeders
Hi Wim,
updated the first link, the max issue is still under consideration!
Maren
updated the first link, the max issue is still under consideration!
Maren
-
- 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: Understanding Feeders
Hi gTonkin,
believe it or not but I have just spent the last hour reading that very article!
I have also added it to my favourites bar for future reference
Maren
believe it or not but I have just spent the last hour reading that very article!
I have also added it to my favourites bar for future reference
Maren
-
- 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: Understanding Feeders
Thanks for the update
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