Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
eduardo_dimperio
Specialist II
Specialist II

Using if to multiple values in a field

Hi everyone,

I have a Field name ALERT with values from 1 to 10, and i want this output

Case:

Alert <=2, 'None'

Alert >2 and Alert<=6, 'Normal'

Alert >6 and Alert<=10, 'Urgent'


How can i right this?

i had thought to use several ifs, but doesnt work in the same field or i dont know how to write.


Thank you

1 Solution

Accepted Solutions
sunny_talwar

May be this

If(ALERT <= 2, 'None',

     If(ALERT <= 6, 'Normal', 'Urgent')) as Flags

View solution in original post

3 Replies
sunny_talwar

May be this

If(ALERT <= 2, 'None',

     If(ALERT <= 6, 'Normal', 'Urgent')) as Flags

eduardo_dimperio
Specialist II
Specialist II
Author

Wow so simple, thank you a lot. I didnt know how to put if inside a if (until now)

sunny_talwar

But now you do