Koon Kabob
03/12/2024, 2:46 PMerictgrubaugh
03/12/2024, 2:53 PM{item}, not {itemid}erictgrubaugh
03/12/2024, 2:57 PMREGEXP_INSTR, although the pattern syntax is a bit arcane if you're unfamiliar:
CASE WHEN
REGEXP_INSTR({item}, '.*-S$') = 1
THEN
{quantity}
ELSE
''
ENDClay Roper
03/12/2024, 2:59 PMitem.name over itemidKoon Kabob
03/12/2024, 3:00 PMKoon Kabob
03/12/2024, 3:02 PMClay Roper
03/12/2024, 3:03 PMELSE '' works for meMarvin
03/12/2024, 3:03 PMCASE WHEN
REGEXP_INSTR({item}, '.*-S$') != '0'
THEN
{quantity}
ELSE
''
ENDMarvin
03/12/2024, 3:03 PMMarvin
03/12/2024, 3:05 PMKoon Kabob
03/12/2024, 3:06 PM