Rich Keller
03/17/2023, 5:11 PMRich Keller
03/17/2023, 5:48 PMLucas
03/17/2023, 5:51 PMDECODE(TO_CHAR(TODAY,'MM') - TO_CHAR({trandate},'MM') + 12*(TO_CHAR(TODAY,'YYYY')-TO_CHAR({trandate},'YYYY')),0,{quantity})Lucas
03/17/2023, 5:52 PMRich Keller
03/17/2023, 6:06 PMStephanie Hughes
03/17/2023, 6:33 PMGregory Jones
03/17/2023, 6:47 PMraghav
03/17/2023, 6:52 PMRich Keller
03/17/2023, 6:53 PMStephanie Hughes
03/17/2023, 6:57 PMRich Keller
03/17/2023, 7:02 PMRich Keller
03/21/2023, 8:34 PMRich Keller
03/21/2023, 8:34 PMStephanie Hughes
03/21/2023, 8:54 PMTO_CHAR(LAST_DAY({trandate}),'DD')
I can divide that by 2, so maybe it'd work?Rich Keller
03/22/2023, 1:14 PM