Page 1 of 1

rules taking effect

Posted: Fri May 22, 2015 3:59 am
by wang_chris
If there are 2 rules statements and 2 relevant feeders, with some overlaps to target cells. Which one will take effect?

Sample as below.

-----------------------------------
rule 1 Z =N: A * B ;
rule 2 Z =N: C * D ;

feeder 1 A => Z ;
feeder 2 C => Z ;
-----------------------------------

I remember rule2 ( the one at bottom) takes effect, is it correct? and whether the turn of feeder influence the result?

since I can not clearly avoid such overlap in real case, I had to arrange the turn of these rules and feeders better. Thank you in advance.


Regards,
Chris

Re: rules taking effect

Posted: Fri May 22, 2015 4:24 am
by Andy Key
Rules work strictly from the top down and the choice of rule has absolutely nothing to do with the feeders or the order of feeders.

Feeders do not make rules calculate, feeders make rule calculated values consolidate. This is why the typical symptom of a cell being unfed is being able to see the rule calculated value at the N level in a non-zero suppressed cube but it not being included in any consolidations, and that it also disappears when the view is zero suppressed.

So if your rules are as simple as the ones in your post, then Rule 1 will apply every time.