# Calculated property: Fix error for blank fields

**URL:** <https://community.hubspot.com/t/calculated-property-fix-error-for-blank-fields/43807>\
**Category:** HubSpot Ideas\
**Tags:** properties\
**Created:** [September 14, 2021, 4:18pm UTC](https://community.hubspot.com/t/calculated-property-fix-error-for-blank-fields/43807 "2021-09-14T16:18:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PJH93](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pjh93/32/76793_2.png) [@PJH93](https://community.hubspot.com/u/PJH93)\
**Post date:** [September 14, 2021, 4:18pm UTC](https://community.hubspot.com/t/calculated-property-fix-error-for-blank-fields/43807/1 "2021-09-14T16:18:15Z")

</div>

Calculated properties are great to combine different factors e.g. revnue into one distinct data field.

However, it was very unclear to me and the team that leaving a field blank prevents properties from calculating. This should be fixed in one the following ways:

1: Give an error message so the user understands why it doesnt calculate.

2: Calculate the field without the number e.g. when this is a sum.

3: Default to 0 when the field is left blank or ask the user when creating the property what the default should be.

Thanks!

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [May 29, 2024, 12:43pm UTC](https://community.hubspot.com/t/calculated-property-fix-error-for-blank-fields/43807/2 "2024-05-29T12:43:11Z")

</div>

Amen to that - I was looking for an option to that either allows me to set a number property to “0” by default or simply treat an empty field as “0” in order to still run a calculation.

Instead now I’m setting up a WF that sets my empty number fields to 0 - seems unneccesary busy work…
