Writing conditional logic using "OR" statements

Hey,
You may use ternary operators; for me they really have been a game-changer:
[[Item.columnName == “” && “—” || Item.columnName]]

  • Condition: Item.columnName == “”
  • If condition is TRUE: && “—”
  • If condition is FALSE: || Item.columnName
    && and || introduce the TRUE and the FALSE status, and behind each comes the respective result.

You also may encapsule such into each other, like:
[[Item.columnName == “” && “—” || Item.columnType == “1” && “right type” || Item.columnName]]

See more info here: