If field with multiple results
Hi, I am trying to do this calculation "If field A is between 6-9 then = Low, if field A is between 10-13 then =  Middle and if field A is between 14-18 then = High"Tried different solutions but can't make it succeed.

  • Hello Michael, For the case the lowest possible value in A is 6 and the highest possible value is 18 and A is a number or money or a number type calculation field:  var A = @field A; A < 10 ? "Low" : A < 14 ? "Middle" : "High" For the case the lowest possible value in A can be < 6 and the highest possible value can be > 18 and A is a number or money or a number type calculation field:  A > 5  && A < 10 ? "Low" : A > 9 && A < 14 ? "Middle" : A > 13 && A < 19 ? "High" : "No match" If A is a text or category or text type calculation field: var A = Number(@field A); Rainer
This question is closed.