Page 1 of 1

Feed from two source cube

Posted: Mon Feb 25, 2013 10:29 pm
by panyuleo
Hi All,
I am just wondering how to feed with following situation?

In Costing Cube:
['Super'] =N:
DB('Assumption Cube', !Version, !Year,
ELPAR('Region', !Region, 1)
'Super %',
DB('Input Cube', !Version, !Year, !Region, !People, 'Grade'));

Basically, getting the String value 'Grade' from the Input Cube, and then getting the Simple value from the Assumption Cube

Detail Information:
Version: TM1 9.5.1
Cubes: Costing Cube; Assumption Cube; Input Cube;
Dimensions & Elements:
Costing Cube: Version, Year, Period, Department, Region, People, CostingMeasures{N 'Super'}
Assumption Cube: Version, Year, Country, AssumptionMeasures{N 'Super %'}, Grade
Input Cube: Version, Year, Region, People, InputMeasures{S 'Grade'}

Any helps would be much appreciated.

Re: Feed from two source cube

Posted: Tue Feb 26, 2013 5:35 pm
by rksharmatm1
There is another way to do this.. which can simplify the things a bit. I don't know whether you can change your design....May help you..

-->Create a String element ' dummy ' in the measure dimension of Costing Cube.

Rules in Costing Cube
['dummy' ]= S: DB('Input Cube', !Version, !Year, !Region, !People, 'Grade');
['Super'] =N: DB('Assumption Cube', !Version, !Year,ELPAR('Region', !Region, 1), 'Super %', !dummy);

FEEDERS ( in Assumption Cube)
[ 'Super %'] => Super measure in Costing Cube

FEEDERS (in Input Cube)
['Grade' ] => dummy measure in Costing Cube

Re: Feed from two source cube

Posted: Wed Feb 27, 2013 6:48 am
by ioscat
{input cube} => DB( if ( DB(assumtion cube) <>), costing cube, '') ,...)