Page 1 of 1
conditional feeders contains a fed value
Posted: Tue Jul 09, 2013 3:36 am
by macsir
Hi,
Can anyone give an example which explains the following situation? Appreciated it.
"If your Cognos TM1 model uses conditional feeders where the condition clause contains a fed value"
Re: conditional feeders contains a fed value
Posted: Tue Jul 09, 2013 4:11 am
by Alan Kirk
macsir wrote:
Can anyone give an example which explains the following situation? Appreciated it.
"If your Cognos TM1 model uses conditional feeders where the condition clause contains a fed value"
For conditional feeders, please refer to
this link.
Extract
You can use conditional FEEDERS to reduce or eliminate over-feeding. Typically you would use a conditional FEEDER to accompany a conditional rule. To illustrate the point, consider the over-feeding example that we discussed earlier:
As we discussed before, the system is ignoring the value of “B” when it is constructing the FEEDER. You can construct conditional FEEDERS as follows to solve the problem:
Code: Select all
['A']=>DB(IF(['B']=0,'','OverFeedSource'), !Time, !Product, 'A*B');
['B']=>DB(IF(['A']=0,'','OverFeedSource'), !Time, !Product, 'A*B');
Note that in order to conditionally feed, you need to use a DB function. In this case, you put an IF statement in the parameter of the DB function that represents the cube name. Return the cube name for cells that you want to feed and ‘’ (null) for ones that you don’t.
Consequently "where the condition clause contains a fed value" would probably mean a situation in which either A or B is a fed value in the example above.
Re: conditional feeders contains a fed value
Posted: Tue Jul 09, 2013 5:29 am
by macsir
Appreciated it. Alan.
I got it.