Jump to content
  • 0
telepet

Formula Field that conditional populates if...

Question

I have a yes/no column (A), another column that is integer data type (B).  I'd like populate a third column (C) with yes/no when certain criteria is met.  

 

For example, if column A is Yes and column B is greater than X, then column C equals "Yes", else "No".

 

Is this sort of thing possible via a formula field for column C, for example?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I was getting hung up on using the proper case for my True/False column.  I had been using 'TRUE' instead of 'True'.  Got it working with this:

CASE 
WHEN [@field:my_number_field] >= 2.00 AND [@field:my_yes_no_field] = 'True' THEN 'Grade is ≥ 2.00' 
ELSE ''
END

New to SQL.  SQL plus formula data type will be pretty powerful.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...