Comments
-
Yes, thanks. I expected if I wanted to pursue it, the code would be many level process. Glad to see I was on the right track. Thanks!
-
I just found this topic https://dojo.domo.com/discussion/20140/formatting-a-number-in-concat
-
I thought it should work! There must be some NULL or ZERO scenario I failed to address. This code considering all NULL and ZERO possibilities does work. CASE WHEN (SUM(IFNULL(`qty sold instock`,0)) + SUM(IFNULL(`qty found`,0))) = 0 THEN 0 WHEN (SUM(IFNULL(`qty found`,0))) = 0 THEN 0 WHEN (SUM(IFNULL(`qty sold instock`,0)))…
-
I found another way to accomplish this with more WHEN statements. Just curious why the B ELSE A does not work.