Hi Everyone,
We have a "Total Active MRR" field at the account level that calculates the MRR value of all active opportunities. This data was originally populated using Snowflake, but we now want to use SugarCRM's out-of-the-box (OOTB) features.
Definition: Total Active MRR is the total monthly recurring revenue from all active subscriptions on an account. It includes all opportunities where the sales stage is "Sales Closed Won," the MRR is greater than $0, and the contract end date is in the future.
After multiple attempts, this is the JSON formula I managed to get working. However, it only calculates correctly for some accounts, while many others show a value of 0 or remain blank even though they meet the criteria:
rollupConditionalSum(
"Opportunities",
"mrramount_c",
"equal($sales_stage, 'SalesClosedWon')",
"greaterThan(timestamp($pr_contract_end_date), timestamp(now()))"
)
Can anyone help me figure out why this might be happening and how to get it to calculate correctly for all accounts?
Thanks in advance!