Ramaraju Hema Kavitha -- please provide more information on your posts so we can provide more suitable answers. I suspect you're referring to a "bin" function that sorts data into buckets? If so, I would argue that the Incorta "case" statement is closer to that. However, yes, if you're looking to sift data into two groups only and if statement can do the trick. Keep in mind if statements can be nested and can handle more complex boolean logic by including other operands in your condition like "and" or "or".