Hi,
I have a list "Aging Buckets" with list items like below, and 2 properties (Range Min, Range Max):
Range Min (Property1) || Range Max (Property 2)
Bucket 0 0 1
Bucket 0_30 1 30
Bucket 30_60 31 60
Bucket 60_90 61 90
Bucket 90_180 ... ....
Bucket 180_360 181 365
There is an "Average" module which is dimensioned ONLY by the above list and has a line item: "Average Rate". This is all INPUT data that I have imported.
So the module looks like this:
Bucket 0 || Bucket0_30 || Bucket 30_60 || Bucket 60_90 || ... || ...
Average Rate 0.5% || 0.3% || 0.2% || 0.1% || ...
Finally, I have a calculation module called "Curve" where I wish to use the above info:
Assume, Curve Module has the following line items:
Aging Day (Ranges from 0 - 365) -- This is formatted as number and represents the "day" being tracked.
Extrapolated Rate -- I want the formula for this based on the below logic:
Extrapolated Rate should be the average rate from the "Average" module where it picks the appropriate bucket and the average rate. i.e.,
if Aging Day BETWEEN Range Min and Range Max
THEN then Average Rate of the appropriate bucket
Example, if Aging Day = 31, then Extrapolated Rate = Avg Rate[SELECT: Bucket30_60] and so on.
Is this possible or should I construct the list /modules in a different way?