# Consider empty fields in a calculation as 0

**URL:** <https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048>\
**Category:** HubSpot Ideas\
**Tags:** object\
**Created:** [April 14, 2020, 5:57pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048 "2020-04-14T17:57:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gumpi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gumpi/32/18373_2.png) [@Gumpi](https://community.hubspot.com/u/Gumpi)\
**Post date:** [April 14, 2020, 5:57pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/1 "2020-04-14T17:57:54Z")

</div>

HubSpot does not automatically set a value of 0 for empty fields. If any of the number properties used in a custom equation have no value, the calculated property value will be empty.

This should be fixed!

---

<div class="post-metadata">

**Author:** ![ClaraLefevre](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/claralefevre/32/77060_2.png) [@ClaraLefevre](https://community.hubspot.com/u/ClaraLefevre)\
**Post date:** [July 29, 2020, 9:25am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/2 "2020-07-29T09:25:58Z")

</div>

Indeed it would be really useful !!!

---

<div class="post-metadata">

**Author:** ![QDagault](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/qdagault/32/84083_2.png) [@QDagault](https://community.hubspot.com/u/QDagault)\
**Post date:** [January 20, 2021, 12:50pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/3 "2021-01-20T12:50:34Z")

</div>

Sounds pretty basic, but it is indeed missing from Hubspot !  
+1

---

<div class="post-metadata">

**Author:** ![Otterbot](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/otterbot/32/77566_2.png) [@Otterbot](https://community.hubspot.com/u/Otterbot)\
**Post date:** [April 12, 2021, 11:45pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/4 "2021-04-12T23:45:31Z")

</div>

Yes, or at least allow calculations to occur in workflows (rather than just increasing properties by a static value). Because “if any of the number properties used in a custom equation have no value, the calculated property value will be empty” we can’t collate number properties into a single property, which would be really useful.

---

<div class="post-metadata">

**Author:** ![AKalling](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/akalling/32/68963_2.png) [@AKalling](https://community.hubspot.com/u/AKalling)\
**Post date:** [April 27, 2021, 8:51am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/5 "2021-04-27T08:51:57Z")

</div>

This would be extremely useful!!!

---

<div class="post-metadata">

**Author:** ![silvioaugusto](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/silvioaugusto/32/59606_2.png) [@silvioaugusto](https://community.hubspot.com/u/silvioaugusto)\
**Post date:** [June 2, 2021, 6:03pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/6 "2021-06-02T18:03:32Z")

</div>

We need this in our company too.

Filling in all the fields takes a lot of time and makes us lose productivity.

---

<div class="post-metadata">

**Author:** ![nweeks](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nweeks/32/44503_2.png) [@nweeks](https://community.hubspot.com/u/nweeks)\
**Post date:** [June 28, 2021, 8:24pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/7 "2021-06-28T20:24:55Z")

</div>

This is a pretty big deal. Surprised it hasn’t gotten more upvotes. We have to type in so much extra 0’s for calculation fields to show up. We use this for our amount field in deals. All our reps have to go through all our revenue types and put 0’s if there isn’t an actual revenue number to put there. If they don’t fill it in it makes their sales numbers look a lot worse than they should. Please fix!

---

<div class="post-metadata">

**Author:** ![Antoine2](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@Antoine2](https://community.hubspot.com/u/Antoine2)\
**Post date:** [November 23, 2021, 10:10am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/8 "2021-11-23T10:10:07Z")

</div>

Yes please fix!

+1

---

<div class="post-metadata">

**Author:** ![AEGRON](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aegron/32/27089_2.png) [@AEGRON](https://community.hubspot.com/u/AEGRON)\
**Post date:** [January 5, 2022, 10:56am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/9 "2022-01-05T10:56:04Z")

</div>

+1 !

---

<div class="post-metadata">

**Author:** ![hannalofving](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hannalofving/32/104050_2.png) [@hannalofving](https://community.hubspot.com/u/hannalofving)\
**Post date:** [February 9, 2022, 9:22am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/10 "2022-02-09T09:22:44Z")

</div>

I have done a really slow and dumb workflow to go through all our value-properties and set 0 if there is no value, but this is soooooooo anying.

Please fix this, it is real simple.

---

<div class="post-metadata">

**Author:** ![GGavalas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ggavalas/32/57633_2.png) [@GGavalas](https://community.hubspot.com/u/GGavalas)\
**Post date:** [March 11, 2022, 5:28am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/11 "2022-03-11T05:28:21Z")

</div>

such a basic item, pls just fix it!

---

<div class="post-metadata">

**Author:** ![rodericks](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rodericks/32/62359_2.png) [@rodericks](https://community.hubspot.com/u/rodericks)\
**Post date:** [April 8, 2022, 2:47pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/12 "2022-04-08T14:47:36Z")

</div>

Is there any update from Hubspot on this? Calculated properties doesnt work now…

---

<div class="post-metadata">

**Author:** ![GiiftCRMAdmin](https://avatars.discourse-cdn.com/v4/letter/g/a6a055/32.png) [@GiiftCRMAdmin](https://community.hubspot.com/u/GiiftCRMAdmin)\
**Post date:** [May 17, 2022, 1:07pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/13 "2022-05-17T13:07:59Z")

</div>

Yes, it is needed. Otherwise it messes up the larger calculation properties. Please implement it asap.

---

<div class="post-metadata">

**Author:** ![rodericks](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rodericks/32/62359_2.png) [@rodericks](https://community.hubspot.com/u/rodericks)\
**Post date:** [June 15, 2022, 11:53am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/14 "2022-06-15T11:53:23Z")

</div>

Anybody has any updates on this?

---

<div class="post-metadata">

**Author:** ![cjkappen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cjkappen/32/59606_2.png) [@cjkappen](https://community.hubspot.com/u/cjkappen)\
**Post date:** [September 19, 2022, 7:29pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/15 "2022-09-19T19:29:25Z")

</div>

This would solve my current problem 100%.

---

<div class="post-metadata">

**Author:** ![joerr](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/joerr/32/227400_2.png) [@joerr](https://community.hubspot.com/u/joerr)\
**Post date:** [September 27, 2022, 9:50pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/16 "2022-09-27T21:50:46Z")

</div>

Depending on the subscription level (Workflows help in this instance), one potential workaround is to ensure that any custom properties required for a calculation property are specifically set to a zero value as opposed to blank.

A workflow triggered by the custom property having a value of ‘unknown’ with an action to set the property to ‘0’ or ‘$0’ will support that property being used in a calculation property.

 ![joerr_0-1664315359725.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/2/825a58db5faa1263a4342f953ea5934c9c0df67c.png)

I’m not sure if this solves for any of the use cases in this thread but thought I’d share.

---

<div class="post-metadata">

**Author:** ![CharlyFR](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CharlyFR](https://community.hubspot.com/u/CharlyFR)\
**Post date:** [October 5, 2022, 11:01am UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/17 "2022-10-05T11:01:13Z")

</div>

This should be fixed, it’s a non sense to not consider empty fields at 0

---

<div class="post-metadata">

**Author:** ![joelgrossman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/joelgrossman/32/95715_2.png) [@joelgrossman](https://community.hubspot.com/u/joelgrossman)\
**Post date:** [November 3, 2022, 12:48pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/18 "2022-11-03T12:48:54Z")

</div>

Another scenario there this is needed…

Trying to generate a report that uses Time In Stage. Sometimes, a Deal gets dropped into a Stage accidentally (eg Closed Won), and I don’t want to count those few seconds, so I need my report to look at deals where time in that stage is less than a few min OR (of course!) never in that stage at all. Can’t do that today because “never in that stage” is “unknown” instead of 0. Very frustrating and is now forcing me to do some crazy hack to build my own calculated value so I can have a single property where “never in that stage” is treated as 0.

---

<div class="post-metadata">

**Author:** ![Olivier\_C](https://avatars.discourse-cdn.com/v4/letter/o/58f4c7/32.png) [@Olivier\_C](https://community.hubspot.com/u/Olivier_C)\
**Post date:** [November 14, 2022, 1:17pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/19 "2022-11-14T13:17:53Z")

</div>

+1… Would be so useful 🙏

---

<div class="post-metadata">

**Author:** ![Kari-M](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kari-m/32/89621_2.png) [@Kari-M](https://community.hubspot.com/u/Kari-M)\
**Post date:** [December 11, 2022, 10:53pm UTC](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048/20 "2022-12-11T22:53:15Z")

</div>

Can’t believe this isn’t a thing! This really needs to be! So frustrating!

[Next page](https://community.hubspot.com/t/consider-empty-fields-in-a-calculation-as-0/20048.md?page=2)
