Page 1 of 1
Questions about feeders
Posted: Sat Jun 04, 2011 1:58 pm
by EP_explorer
Thank you for answer for previous question about feeders
http://www.tm1forum.com/viewtopic.php?f=3&t=5102
And I have 2 new
1. Is it possible to write feeder for rule and how it is written
['X' ] = N: DIMIX('dimension1',!dimension);
2. The same question for rule
['X' ] = 1;
Re: Questions about feeders
Posted: Sat Jun 04, 2011 7:37 pm
by Steve Rowe
The answer is Yes and No
The No goes like this.
Feeders have to start from an input number and since neither of your statements point at an input cell (or a rule that eventually has an input) you cannot feed with the "logical opposite" of your rule.
So there is no logical feeder for your rules.
The Yes goes like this.
Since all feeders start from an input number you can use any input cell to feed any rule.
['AnyOldCellWithAnInputInIt']=>['X'];
So you can always feed with an illogical feeder.
There are occasions when you want to feed with an illogical feeder but I would regard that as an advanced technique and you want to get the hang of logical feeders first. When you are starting out and you don't have logical feeders for your rules I woud take that as a strong indication that you don't have your design right or are not writing rules in a "normal" fashion.
HTH
Cheers,
Re: Questions about feeders
Posted: Sun Jun 05, 2011 5:42 am
by EP_explorer
Thank you for answer