Jump to content
  • 0

deemuss

Question

It is possible to set checkmark condition using Calculated Value.

  1. The field should be set as Calculated Value
    image.png.63ddc03e2f507fddc1143b44f33485c7.png
  2. The basic formula to set the condition is:
    CASE 
    WHEN [@field:IntegerValue]=100 THEN 'X' ELSE 'Y'
    END

     

  3. For Yes/No field, the boolean value us 1/0. However, to make it work properly, the field should receive BIT value. So, CAST function should be applied:
     

    CASE 
    WHEN [@field:IntegerValue]=100 THEN CAST(1 as bit) ELSE CAST(0 as bit)
    END

     

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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...