Page 1 of 1

Help with feeder

Posted: Fri May 29, 2015 2:20 pm
by motylfx
I have rule in cube1

[measure1] = N: if([measure2]<>0, DB('CUBE2', !dim1,!dim2, measure3 ) + DB('CUBE2', !dim1,!dim2,!dim3, measure4 ) , CONTINUE)

How i should write feeder?
[measure2]=>[measure1] ?

Or i must put feeder in cube2 ? - problem with thist solution is that, in cube2 i have less dimensions, and there is overfeeding:
[measure3] => DB('CUBE1', !dim1,!dim2,'TOTAL', measure1 ) - overfeeding
[measure4] => DB('CUBE1', !dim1,!dim2,'TOTAL', measure1 ) - overfeeding

Sorry for my english

Re: Help with feeder

Posted: Fri May 29, 2015 3:35 pm
by EP_explorer
it seems
[measure2]=>[measure1]
would work properly

Re: Help with feeder

Posted: Fri May 29, 2015 4:00 pm
by qml
For your example [measure2]=>[measure1] would indeed work. Depending on your data there could still be some overfeeding if for measure2 the cube is populated much more densely than measure3 and measure 4.