Feeders help
Posted: Wed Nov 20, 2013 1:38 pm
hello guys, im trying to write a feeder for a rule with the following structure:
(CubeC)
['C'] = (DB('CubeA','dim1','dim2','dim3', 'A')* DB('CubeB', 'Dim1','Dim2','Dim3', 'B'))/ DB( 'CubeA','dim1','dim2','dim3','A16');
what i tryed so far was this:
In CubeA:
A=> DB('CubeC', dim1, dim2, dim3,'C');
in CubeB:
B=> DB('CubeC', dim1, dim2,dim3,'C');
and i was wondering how should i add the feeder for the variable 'A16', im not very good at feeders , i have no problems with only just multiplications, but when it has divisions and multiplications and others stuffs i get dizzy.
right now im reading this
http://www.ibm.com/developerworks/ssa/d ... ge620.html
and there is an example for division feeder
['A/B']=n:['A']/['B'];
['A']=>['A/B'];
but in this case C = ((A*B)/A16)
should i do something like this?
A=> C
B=> C
A16=> C
thanks for any tips
(CubeC)
['C'] = (DB('CubeA','dim1','dim2','dim3', 'A')* DB('CubeB', 'Dim1','Dim2','Dim3', 'B'))/ DB( 'CubeA','dim1','dim2','dim3','A16');
what i tryed so far was this:
In CubeA:
A=> DB('CubeC', dim1, dim2, dim3,'C');
in CubeB:
B=> DB('CubeC', dim1, dim2,dim3,'C');
and i was wondering how should i add the feeder for the variable 'A16', im not very good at feeders , i have no problems with only just multiplications, but when it has divisions and multiplications and others stuffs i get dizzy.
right now im reading this
http://www.ibm.com/developerworks/ssa/d ... ge620.html
and there is an example for division feeder
['A/B']=n:['A']/['B'];
['A']=>['A/B'];
but in this case C = ((A*B)/A16)
should i do something like this?
A=> C
B=> C
A16=> C
thanks for any tips