sshaik
3 years agoNew Contributor III
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...
- 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"