What is the difference between bin and if?

if(condition using less than, "xxxx","yyyy")    // also will work like bin


please clarify this.

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • 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".

Like Follow
  • 11 mths agoLast active
  • 1Replies
  • 44Views
  • 2 Following