naidah14 Posted November 23, 2015 Report Share Posted November 23, 2015 Hi, I'm new to Caspio. Using trial version for 3 days already and I'm impress with it. Q: How can I configure blank field equals to '0' value? Thank You Quote Link to comment Share on other sites More sharing options...
1 Jan Posted November 25, 2015 Report Share Posted November 25, 2015 Hello naidah14, Maybe, conditions in Calculated fields can help. Does it work for you? Quote Link to comment Share on other sites More sharing options...
0 NailDyanC Posted February 2, 2019 Report Share Posted February 2, 2019 Hi, Just to add to the previous comment above, if you want to submit values even if the field is blank you can use ISNULL for that let say for example: ISNULL([@field:Original_Art_Time],0) + ISNULL([@field:QE1_Time],0) + ISNULL([@field:QE2_Time],0) + ISNULL([@field:QE3_Time],0) + ISNULL([@field:QE4_Time],0) + ISNULL([@field:QE5_Time],0) I hope that helps. Quote Link to comment Share on other sites More sharing options...
0 JolliBeng Posted February 7, 2019 Report Share Posted February 7, 2019 Hi, You can also use CASE-WHEN on your formula. Here's an example: CASE WHEN [@field:test_field] IS NULL THEN 0 END -JolliBeng Quote Link to comment Share on other sites More sharing options...
0 DefinitelyNot31337 Posted February 13, 2019 Report Share Posted February 13, 2019 Hi, I'm not sure about the context of your question but; it might be helpful for you to know that we can use Triggered Actions to set the default value of a field. There are other options as well. You may refer to this documentation for more information. I hope this helps. -DN31337 Quote Link to comment Share on other sites More sharing options...
0 SinJunYoung Posted July 20, 2019 Report Share Posted July 20, 2019 On 2/1/2019 at 10:41 PM, NailDyanC said: Hi, Just to add to the previous comment above, if you want to submit values even if the field is blank you can use ISNULL for that let say for example: ISNULL([@field:Original_Art_Time],0) + ISNULL([@field:QE1_Time],0) + ISNULL([@field:QE2_Time],0) + ISNULL([@field:QE3_Time],0) + ISNULL([@field:QE4_Time],0) + ISNULL([@field:QE5_Time],0) I hope that helps. Also if you have Sum(IsNull(field,0)) and you wanted to place 0 value for your every blank, you can always revert this to fill in actual 0 value in your table. You should try something as this: IsNull(Sum(field),0) Hope this helps Quote Link to comment Share on other sites More sharing options...
0 RuisiHansamu Posted April 5, 2023 Report Share Posted April 5, 2023 I tried the formula provided by Jolibengs: CASE WHEN [@field:test_field] IS NULL THEN 0 END And worked on my end. I tried it on the Tabel level using formula field. I also found a helpful forum post here: Quote Link to comment Share on other sites More sharing options...
0 DaveS Posted March 20 Report Share Posted March 20 This might seem ridiculous, but I wasn't sure if it would work the opposite way (ELSE NULL). I.e., I have a field that I want to set to Null instead of zero in a given situation. Worked just fine, happily CASE WHEN X=Y THEN Z ELSE NULL " Quote Link to comment Share on other sites More sharing options...
Question
naidah14
Hi,
I'm new to Caspio. Using trial version for 3 days already and I'm impress with it.
Q: How can I configure blank field equals to '0' value?
Thank You
Link to comment
Share on other sites
7 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.