Hello All,
I have been trying to figure out why my iif function is only returning the first two options. 1 and 2. I need it to return 5 options. All having ranges. My expression is as follow:
iff(DaysEmployed<90,"90",DaysEmployed>=90<730,"1", DaysEmployed>=730<1460,"2",
DaysEmployed>=1460<4745,"3",DaysEmployed>=4745<912 4,"4",DaysEmployed>=9124,"5")
Maybe Im using the wrong function so I used Switch instead and it still was only reading the first two criteria. I even removed the equals sign but still the same. What am I doing wrong and how could I fix it. I need it to pick from a range and return a number. Is there a way to do this?
Thanks in advance