Jump to content
  • 0
Sign in to follow this  
Altair

Calculated field

Question

I have a datapage with fields from a table. I have created a calculated Total field in the datapage that adds the values in the fields. 

The problem is that i have to fill all fields with a number before the calculated Total field calculates the total value. If one of the fields are blank, the field will not calculate. 

Any idea how to fix this?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

If you want to calculate all the fields even if there are some blanks values to the other fields, you may use ISNULL for that. Let say:

ISNULL([@fieldTest1],0) + ISNULL([@field:Test2],0) + ISNULL([@field:Test3],0) 

You may follow and continue that format until "ISNULL([@field:Testxx],0)". 

Share this post


Link to post
Share on other sites
  • 0

Hi,

Just to update this post, after the release 19.0, the IsNull() Function in your formula might not work. Using IsNull() in Formula Fields, Calculated Values and Calculated Fields will only accept date/time values for the replacement value. 

Please see the link below for more details:

https://howto.caspio.com/release-notes/caspio-bridge-19-0/19-0-impacted-areas/

 

~JolliBeng

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...
Sign in to follow this  

×
×
  • Create New...