Maximiliano
06/23/2023, 1:53 PM(CASE WHEN {inventorylocation} = '1' THEN {locationquantityavailable} ELSE 0 END) + (CASE WHEN {inventorylocation} = '2' THEN {locationquantityavailable} ELSE 0 END)
however not adding together - any idea why?
also the output I need is - as part of the criteria I've selected the multiple locations and currently they are displaying over multiple lines hence want to display as a sum on one line however it still appears as multiple...David B
06/25/2023, 8:44 PMSUM/*comment*/(CASE WHEN {inventorylocation} IN (1,2) THEN {locationquantityavailable} END) OVER (PARTITION BY {internalid})