TLDR;The main issue seems to stem from the original equation. I think you are using the duration property in your equation as a time between factor... instead of the end date.
Not totally sure on how I'd do it for a Monthly breakdown, but.
You can do a Revenue per Day calucation all in one calculated property if you cofigure it as below swapping out your appropriate properties. Be sure the Output type is set to Number and formatted to Currency.
TLDR;The main issue seems to stem from the original equation. I think you are using the duration property in your equation as a time between factor... instead of the end date.
Not totally sure on how I'd do it for a Monthly breakdown, but.
You can do a Revenue per Day calucation all in one calculated property if you cofigure it as below swapping out your appropriate properties. Be sure the Output type is set to Number and formatted to Currency.
@nickfromfargo this calculation is great! I set it up and it's 100% accurate. My issue is how to use this in a report that shows Deal amounts broken out by month. Any additional insight is truly appreciated.
If not, I have a few questions to help our community better understand the issue.
Questions:
What data type is properties.amount and what data type is the result of time_between?
If time_between returns a value in days, are you expecting Monthly Contract Value to represent the average amount for each day of the project or for each month?
Can you share the errors you receive when trying to save the function, please?