Beast mode to kill div0 errors
Hi, can anyone tell me why If my "A" code works, and my "B" CASE WHEN... THEN 0 ELSE 2 END code works, why can't I substitute code "A" for "2" in code B? I'm trying to kill divide by zero errors in a beast mode. --A SUM(IFNULL(`qty sold instock`,0))/SUM(IFNULL(`qty found`,0)) --B (CASE WHEN (IFNULL(`qty found`,0)) = 0 THEN…