Forum Discussion

sshaik's avatar
sshaik
New Contributor III
3 years ago
Solved

How to perform looping for multiple columns to get a single column data

If Iteration 1 then I have to concat all the columns with some special characters and spaces. If the iteration goes to 2nd time them concat all the columns with some special characters and spaces lik...
  • j_angelevski's avatar
    4 years ago

    Hi @NAl,

    The second expression is wrong because that way if the Status is ‘X’ or ‘Y’ or ‘Z’ it will return true to both outputs.
    You should change the second expression to $Status != "X" && $Status != "Y" && $Status != "Z", this way it will only evaluate to true if status is neither x, y nor z.
    Also first expression should be: $Status == "X" || $Status == "Y" || $Status == "Z"