Jump to content
  • 0

Sum acrros fields


Kennylj24
 Share

Question

I am attempting to sum across all fields.  This bay me simple but I am a little stump.  The use basically enters two types of data into a form. Some being a number and others a check box. What I did was apply a formula for the check box entry that stated if  Yes than equal 1. That way I am able to total those columns and convert to a number. I thought I would then be able to add that to my numbers field. I.e . New claim + Cp/CR activity+Calendars+Mail+Estimates+phone message to equal the total Task Column. For some reason no matter what configuration I use I always get a blank.  Can you please help? Is this even doable?

2017-01-26_10-18-08.png

2017-01-26_10-25-29.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
On ‎2‎/‎6‎/‎2017 at 11:03 AM, eetimm said:

Check your fields for null values...Caspio cannot add values if any of them are null.  Try using the form:

IsNull([@field:field1],0)+ IsNull([@field:field2],0) + .... + IsNull([@field:fieldx],0)
 

This has worked for me.

 

ET

Thank you. It works perfect.

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.

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

×
×
  • Create New...