Hi all,
I would like to clarify my understanding about feeders. Please take some time to help me. Much appreciated.
1. Let's say we have a sales assumption cube, A, and sales plan cube, B. In B we have the following rule calculating sales amount: [Sales Amount] = N:[Unit Price] * [Quantity]. In A we have the following feeder: [Unit Price] => DB(B, !Product, !Year, !Month, 'Unit Price'). As I know, when user input quantity in cube B to make the cells identified by [Quantity] changes from zero to other number, feeders will be fired. However, I am not sure if the feeders will still be fired if the values of quantity are copied/pasted from excel. Does it follow the same firing logic?
2. Even if a cube is fed properly, sometimes our users found that some cells became unfed later. The server has never been restarted or shutdown. Is there any possibility for a previous fed cell become unfed?
Thanks in advance for your kindly help!
When will feeders be fired under these circumstances?
- qml
- MVP
- Posts: 1097
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: When will feeders be fired under these circumstances?
This looks rather weird. Can you tell me why you didn't do it the "normal" way, e.g.:David Lee wrote:1. Let's say we have a sales assumption cube, A, and sales plan cube, B. In B we have the following rule calculating sales amount: [Sales Amount] = N:[Unit Price] * [Quantity]. In A we have the following feeder: [Unit Price] => DB(B, !Product, !Year, !Month, 'Unit Price').
Rules in B ONLY:
Code: Select all
SKIPCHECK;
['Sales Amount'] = N: DB('A', !Product, !Year, !Month, 'Unit Price') * ['Quantity'];
FEEDERS;
['Quantity'] => ['Sales Amount'];
Feeders get fired always when a feeding cell changes its value, or when the rule file is being processed, e.g. after a server restart or after a cube unload.David Lee wrote:As I know, when user input quantity in cube B to make the cells identified by [Quantity] changes from zero to other number, feeders will be fired. However, I am not sure if the feeders will still be fired if the values of quantity are copied/pasted from excel. Does it follow the same firing logic?
No, normally not, unless the cube has been unloaded AND the feeding cell no longer feeds.David Lee wrote:2. Even if a cube is fed properly, sometimes our users found that some cells became unfed later. The server has never been restarted or shutdown. Is there any possibility for a previous fed cell become unfed?
Kamil Arendt
-
- Posts: 10
- Joined: Wed Jan 05, 2011 4:37 pm
- OLAP Product: TM1
- Version: V9.5.1
- Excel Version: MS Excel 2003
- Location: Taipei, Taiwan
Re: When will feeders be fired under these circumstances?
Hi qml,
Thanks for your prompt response. I may gave a bad example. The feeder should be [Quantity] => [Sales Amount].
My question is: Will the feeder firing logic be different when it comes to copy/paste values to cube viewer from MS Excel?
Thank you.
Thanks for your prompt response. I may gave a bad example. The feeder should be [Quantity] => [Sales Amount].
My question is: Will the feeder firing logic be different when it comes to copy/paste values to cube viewer from MS Excel?
Thank you.
- qml
- MVP
- Posts: 1097
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: When will feeders be fired under these circumstances?
No, it won't be. Entering a value in a cell should fire a feeder based on that cell, full stop. The interface/mode used is irrelevant, can be TI, DBRW, or a Cube View copy-paste. If you have noticed a different behaviour than I would class it as a bug. Have you?David Lee wrote:My question is: Will the feeder firing logic be different when it comes to copy/paste values to cube viewer from MS Excel?
Kamil Arendt
-
- Posts: 10
- Joined: Wed Jan 05, 2011 4:37 pm
- OLAP Product: TM1
- Version: V9.5.1
- Excel Version: MS Excel 2003
- Location: Taipei, Taiwan
Re: When will feeders be fired under these circumstances?
I will figure the detail steps to recreate this problem and discuss with IBM product support team to see if it's a product defect. Thanks again for your comments.qml wrote:No, it won't be. Entering a value in a cell should fire a feeder based on that cell, full stop. The interface/mode used is irrelevant, can be TI, DBRW, or a Cube View copy-paste. If you have noticed a different behaviour than I would class it as a bug. Have you?David Lee wrote:My question is: Will the feeder firing logic be different when it comes to copy/paste values to cube viewer from MS Excel?

- garry cook
- Community Contributor
- Posts: 209
- Joined: Thu May 22, 2008 7:45 am
- OLAP Product: TM1
- Version: Various
- Excel Version: Various
Re: When will feeders be fired under these circumstances?
Just a word of warning - if you're changing rules and feed cells then remove the feeder, the cells will remain fed until you clear them out.
Not that it sounds like this is your problem but it's something to bear in mind - ususally when developing it's a good idea to recycle the whole server at the end and check your feeders still work on the offchance you've managed to feed some cells inadvertantly and then removed the feeder statements afterwards.
Not that it sounds like this is your problem but it's something to bear in mind - ususally when developing it's a good idea to recycle the whole server at the end and check your feeders still work on the offchance you've managed to feed some cells inadvertantly and then removed the feeder statements afterwards.
-
- Posts: 10
- Joined: Wed Jan 05, 2011 4:37 pm
- OLAP Product: TM1
- Version: V9.5.1
- Excel Version: MS Excel 2003
- Location: Taipei, Taiwan
Re: When will feeders be fired under these circumstances?
Yes. It is better to restart the server to let TM1 recalculate feeders. I always keep it in mind. Thanks for your reminder.garry cook wrote:Just a word of warning - if you're changing rules and feed cells then remove the feeder, the cells will remain fed until you clear them out.
Not that it sounds like this is your problem but it's something to bear in mind - ususally when developing it's a good idea to recycle the whole server at the end and check your feeders still work on the offchance you've managed to feed some cells inadvertantly and then removed the feeder statements afterwards.