Rule not correctly fed
Posted: Fri Sep 06, 2013 11:19 pm
Hi all,
Please can someone help me out with a rule that I cannot get to feed correctly – I have tried numerous options throughout today and it has me stumped!
I have a simple model that is calculating Earned Premium (GEP) from Gross Written Premium, using an earning profile in another cube :
Cube 1 : Budget_Allocated – stores GWP as an entered value.
Cube 2 : Budget_Earnings_Allocated reads GWP from Cube 1 and calculates a 12-month forward spread of earned premium based on a profile .
A rule then brings the GEP into Cube 1 from Cube 2. This is the rule that I cannot correctly feed.
The GEP itself works correctly and I can see the result reading into the Budget_Allocated cube but when I suppress zeroes it disappears indicating it is not fed.
I am feeding Total GWP into GEP and this is not working for future months where no GWP has been added, presumably because there is no value to feed into GEP.
Because of this I tried to come up with a feeder that would feed from prior period’s GWP to create a “rolling feeder” but this hasn’t worked either.
I attempted to push a feeder from the Budget_Earnings_Allocated cube into the Budget_Allocated cube, but this involved switching in SKIPCHECK in this cube, and I then couldn’t work out the correct feeders in that cube.
I also tried (you can laugh) creating an “Index” element and filling each cell with a 1 for all periods, and feeding that into the GEP but this also did not work.
What am I missing?
Thanks.
BUDGET_ALLOCATED RULE AND FEEDER:
#-------------------------Earnings---------------------------------------------------------------------------
['GEP','Commercial'] = n:DB('Budget_Earnings_Allocated',!Allocate,'Premium',!Cover Type Summary,!Company,!Budget Scenario,!Budget Sublevel,!LineOfBusiness,!Scheme,!Time,'All Periods');
FEEDERS;
#--------------------------Earnings---------------------------------------------------------------------------
['Total GWP'] => ['GEP'];
['Total GWP'] => DB('Budget_Allocated',!Allocate,!Cover Type Summary,!Company,!Budget Scenario,'GEP',!LineOfBusiness,!Budget Sublevel,!Scheme,ATTRS(Time,!Time,'Next Period'));
BUDGET_EARNINGS_ALLOCATED RULE (Skipcheck not switched on) :
#----- --EARNED PREMIUM------------
['Premium','Full GWP']=DB('Budget_Allocated',!Allocate,!Cover Type Summary,!Company,!Budget Scenario,'Total GWP',!LineOfBusiness,!Budget Sublevel,!Scheme,!Time);
['Premium'] =N:['Premium','Full GWP']*DB('Budget_Earnings_Profile_Simple',!Company,!Profile Type,ATTRS('LineOfBusiness',!LineOfBusiness,'Earned Premium Profile'),!Budget Scenario,!FC_Earnings_Year_Month,!Time);
Screenshot of Budget_Allocated cube view – it is the “No Cover Type” element where premium does not exist from August onwards that is not feeding in the GEP. (August itself works on here as I have manually entered a value to force feed and not yet restarted the server).
Please can someone help me out with a rule that I cannot get to feed correctly – I have tried numerous options throughout today and it has me stumped!
I have a simple model that is calculating Earned Premium (GEP) from Gross Written Premium, using an earning profile in another cube :
Cube 1 : Budget_Allocated – stores GWP as an entered value.
Cube 2 : Budget_Earnings_Allocated reads GWP from Cube 1 and calculates a 12-month forward spread of earned premium based on a profile .
A rule then brings the GEP into Cube 1 from Cube 2. This is the rule that I cannot correctly feed.
The GEP itself works correctly and I can see the result reading into the Budget_Allocated cube but when I suppress zeroes it disappears indicating it is not fed.
I am feeding Total GWP into GEP and this is not working for future months where no GWP has been added, presumably because there is no value to feed into GEP.
Because of this I tried to come up with a feeder that would feed from prior period’s GWP to create a “rolling feeder” but this hasn’t worked either.
I attempted to push a feeder from the Budget_Earnings_Allocated cube into the Budget_Allocated cube, but this involved switching in SKIPCHECK in this cube, and I then couldn’t work out the correct feeders in that cube.
I also tried (you can laugh) creating an “Index” element and filling each cell with a 1 for all periods, and feeding that into the GEP but this also did not work.
What am I missing?
Thanks.
BUDGET_ALLOCATED RULE AND FEEDER:
#-------------------------Earnings---------------------------------------------------------------------------
['GEP','Commercial'] = n:DB('Budget_Earnings_Allocated',!Allocate,'Premium',!Cover Type Summary,!Company,!Budget Scenario,!Budget Sublevel,!LineOfBusiness,!Scheme,!Time,'All Periods');
FEEDERS;
#--------------------------Earnings---------------------------------------------------------------------------
['Total GWP'] => ['GEP'];
['Total GWP'] => DB('Budget_Allocated',!Allocate,!Cover Type Summary,!Company,!Budget Scenario,'GEP',!LineOfBusiness,!Budget Sublevel,!Scheme,ATTRS(Time,!Time,'Next Period'));
BUDGET_EARNINGS_ALLOCATED RULE (Skipcheck not switched on) :
#----- --EARNED PREMIUM------------
['Premium','Full GWP']=DB('Budget_Allocated',!Allocate,!Cover Type Summary,!Company,!Budget Scenario,'Total GWP',!LineOfBusiness,!Budget Sublevel,!Scheme,!Time);
['Premium'] =N:['Premium','Full GWP']*DB('Budget_Earnings_Profile_Simple',!Company,!Profile Type,ATTRS('LineOfBusiness',!LineOfBusiness,'Earned Premium Profile'),!Budget Scenario,!FC_Earnings_Year_Month,!Time);
Screenshot of Budget_Allocated cube view – it is the “No Cover Type” element where premium does not exist from August onwards that is not feeding in the GEP. (August itself works on here as I have manually entered a value to force feed and not yet restarted the server).