Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Nested CASE WHEN THEN END - Formula ignoring part of case statement
Hi, i have the following formula:
CASE {custitem_item_type_standard_matrix} WHEN 'Parent' THEN (CASE WHEN INSTR({displayname}, {custitem_brand}) = 0 THEN {custitem_brand} || ' ' END) || {displayname} WHEN 'Standard' THEN (CASE WHEN INSTR({displayname}, {custitem_brand}) = 0 THEN {custitem_brand} || ' ' END) || {displayname} ELSE ((CASE WHEN INSTR({displayname}, {custitem_brand}) = 0 THEN {custitem_brand} || ' ' END) || {displayname} || NVL2({custitem1}, ' - ' || {custitem1}, '') || NVL2({custitem2}, ' - ' || {custitem2}, '') || NVL2({custitem_design}, ' - ' || {custitem_design}, '') || NVL2({custitem_total_weight}, ' - ' || {custitem_total_weight}, '') || NVL2({custitem_length}, ' - ' || {custitem_length}, '') || NVL2({custitem_weapon}, ' - ' || {custitem_weapon}, '') ||