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 carifPRODUCT_CODEisCAR -
A truckifPRODUCT_CODEisTRUCK -
A
FIELD_MISSINGindication ifPRODUCT_CODEfits neither of the other conditions