Feeder assistance
Posted: Thu Jan 03, 2013 10:25 am
Guys,
Bit of help with feeders if possible....
I'm using a rule which roles forward rates each month (in a split time dimension). It puts last month's rate in this month unless something else is entered this month.
It uses an input and output nominal, rolled up into a reported nominal, with Input weighted at zero.
See below for example code....
My Feeder currently is...
Whereby 'AA_Adj' is the 'Version' where the rates are input.
I'm getting a fed value in the cube for the direct month in the reported nominal, so I assume this feeder is half working, but half is no good!
Any help would be great,
Cheers
Bit of help with feeders if possible....
I'm using a rule which roles forward rates each month (in a split time dimension). It puts last month's rate in this month unless something else is entered this month.
It uses an input and output nominal, rolled up into a reported nominal, with Input weighted at zero.
See below for example code....
Code: Select all
###
['Expected Return On Capital Output']= N:IF(
DB('Reporting_Scheme',!Version,!Accident Year,!Underwriting Year,!LineOfBusiness,!Company,!Cover Type,!Product,!Scheme,'Expected Return On Capital Input',!Month,!Year)<>0,
DB('Reporting_Scheme',!Version,!Accident Year,!Underwriting Year,!LineOfBusiness,!Company,!Cover Type,!Product,!Scheme,'Expected Return On Capital Input',!Month,!Year)
,
DB('Reporting_Scheme',!Version,!Accident Year,!Underwriting Year,!LineOfBusiness,!Company,!Cover Type,!Product,!Scheme,'Expected Return On Capital Output',ATTRS('Month',!Month,'Prior Month'),!Year)
);
###
Code: Select all
['AA_Adj']=> DB('Reporting_Scheme',!Version,!Accident Year,!Underwriting Year,!LineOfBusiness,!Company,!Cover Type,!Product,!Scheme,!Nominal,ATTRS('Month',!Month,'Next Month'));
I'm getting a fed value in the cube for the direct month in the reported nominal, so I assume this feeder is half working, but half is no good!
Any help would be great,
Cheers