Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

SWITCH TRUE with multiple conditions

Hi,   Would someone be able to tell me why my SWITCH(TRUE() function with multiple conditions is returing wrong anwers? Just look at row 2 in of the attached screenshot - it should return "Group 4"...
  • ERD's avatar
    4 years ago

    Anonymous , use the brackets (condition || condition) && (condition || condition).

    If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.