Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

D toc

Excerpt

The IF function allows you to build if/then/else conditional logic within your transforms.



Info

NOTE: The IF function is interchangeable with ternary operators. You should use this function instead of ternary construction.

D s

D s
snippetBasic

Example:

D code

derive type:single value:IF(State == 'NY','New York, New York!','some other place') as:'isNewYork'

...