Using @CASE
Use @CASE
to select a value depending on a series of value tests.
@CASE (PRODUCT_CODE, 'CAR', 'A car', 'TRUCK', 'A truck')
This example returns the following:
-
A car
ifPRODUCT_CODE
isCAR
-
A truck
ifPRODUCT_CODE
isTRUCK
-
A
FIELD_MISSING
indication ifPRODUCT_CODE
fits neither of the other conditions