Ben Goligowski
09/16/2019, 7:19 PMERROR: Possible Divide by Zero? essentially i'm just trying to get aggregated sales data and divide that by a number of months a product has been released. item search.
sales data: summary type = 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
months calc: summary type = group
case when MONTHS_BETWEEN({today}, {custitem_launch_date}) > 12 then 12 else MONTHS_BETWEEN({today}, {custitem_launch_date}) end
BUT, when i combine the two into one, I get that error. anyone done something like this before and have any ideas?