Let's rewind a bit...
[APRA Calc] = [Proportion] x [Signage] x [Balance];
So the most correct feeder is the thing that is least populated on the RHS of your rule combined with having the most dimensions in common with the ruled area, let's assume that is Balance.
If we look at your rule without the Proportion and Signage info we get
Code: Select all
['APRA Actual',Measures:'LCYE'] = N:
DB('Fin_GL','Actual','NA','NA','NA',!Company,!Affiliate,!FunctionalCell,!Product,!ProductProcessor,!ResponsibilityCentre,
SUBST(!Account,1,10),!BalanceType,!Period,!Measures);
The feeder for this rule is pretty straight forward (conceptually). Just reverse the expression.
Code: Select all
DB('Fin_GL','Actual','NA','NA','NA',!Company,!Affiliate,!FunctionalCell,!Product,!ProductProcessor,!ResponsibilityCentre,
SUBST(!Account,1,10),!BalanceType,!Period,!Measures)=>['APRA Actual',Measures:'LCYE'];
but TM1 doesn't accept this syntax, so we start tidying up the syntax and get the following.
Code: Select all
['Actual', DimRef1:'NA', DimRef2:'NA', DimRef3:'NA', SUBST(!Account,1,10)]=>['APRA Actual',Measures:'LCYE'];
this still won't work since when we fix something on the left it is fixed on the right. So whenever we fix something on the left we need to say something on the right if we want it to be soemthing different.
Code: Select all
['Actual', DimRef1:'NA', DimRef2:'NA', DimRef3:'NA', SUBST(!Account,1,10)]=>['APRA Actual', DimRef1:'Consolidation', DimRef2:'Consolidation', DimRef3:'Consolidation', Measures:'LCYE'];
(Consolidation could be another N level if thats what you need).
The last bit to sort out is account where you need to feed (I think ) to the immediate parent of the populated element. This sort of looks like this
Code: Select all
['Actual', DimRef1:'NA', DimRef2:'NA', DimRef3:'NA', !Account ]=>['APRA Actual', DimRef1:'Consolidation', DimRef2:'Consolidation', DimRef3:'Consolidation', Measures:'LCYE' , SUBST(!Account,1,10)];
but obviously this won't compile...We drop the !Account on the left since its redundant and also because we use an expression in the formula on the right we need to use a DB reference. We then get.
Code: Select all
['Actual', DimRef1:'NA', DimRef2:'NA', DimRef3:'NA' ]=>
DB('Fin_GL','APRA Actual','Consolidation','Consolidation','Consolidation',!Company,!Affiliate,!FunctionalCell,!Product,!ProductProcessor,!ResponsibilityCentre, SUBST(!Account,1,10),!BalanceType,!Period,'LCYE');
Once you get your head around that and logic of how to construct the feeder, then you can look at getting creative. Conditional feeders can be pretty useful but you need get the main piecce working first.
Phew HTH
Cheers,