I am attempting to create an MRR saved search that will break out the monthly recurring revenue for an opportunity based on term. I have it mostly built but I am having difficulty getting anything with a term of less than 12 months to start, end, and divide into the proper months at the proper monthly rate. Here is an example:
Customer purchases an item for a total of $6000 that will have revenue recognized over 6 months starting in June and ending November 30th. I want monthly columns for all of 2014 (Jan, Feb, Mar...etc...) that will show $1000 in June, $1000 in July $1000 in August and so on through November. If I have a customer purchase an item with a 3 month term for $4000 I want it to break the $4000 over three months and to show that revenue in the appropriate month.
My problem is not all of our contracts are the same. For this particular report, some will only have a term of 1 month, other could be 12 months, and many will be somewhere in between. So I need a case when statement that lists all of those conditions. So here are the fields I am working with: {type} = 'opportunity', {custcol_swe_contract_start_date}, {custcol_swe_contract_item_term} and {projectedamount}. Am I missing any? Could someone help with a formula that would accomplish this for all of the conditions? I am thinking the formula should just divide by the contract item term.
Any help is much appreciated! :h_a_w: