Jump to content
  • 0

Calculated field returning blank



Hi everyone please help; 

I have this SQL in a calculated field; I want to return a value for this field from a cascading field if a certain question is answered yes in a  checked field.


WHEN [@cbParamVirtual18] = 'Yes' THEN [@field:Employee_Payslips_Earning_1_Value]


Anyone know what could be the reason I am getting calculation error or a blank field?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello @IoTWorld,

If I understand you correctly the [@cbParamVirtual18] field is the Virtual field that is set to the Checkbox form element.


If so, please use single quotes to wrap the  [@cbParamVirtual18] field.  When the value in the Virtual field is a Text, always wrap the Virtual field in single quotes.

Also, double-check what value you have in the "Value when checked" field to compare with it.

Please test this formula:

CASE WHEN '[@cbParamVirtual18]' = 'Yes'
THEN [@field:Employee_Payslips_Earning_1_Value]

Hope this helps. 

Link to comment
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.

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.

  • Create New...