```trying to get this to work: summary type = sum ...
# suiteanalytics
b
Copy code
trying to get this to work: summary type = sum
nvl((sum(case when {transaction.type} = 'Sales Order' and {transaction.trandate} <= to_date('2019-06-30', 'YYYY-MM-DD') and {transaction.trandate} >= to_date('2018-06-30', 'YYYY-MM-DD') then {transaction.quantity} else 0 end)) / (round(case when MONTHS_BETWEEN({today}, {custitem_launch_date}) > 12 then 12 else MONTHS_BETWEEN({today}, {custitem_launch_date}) end)), 'New')