<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculation Property Doesn't Work if a Property is Blank in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/875526#M36623</link>
    <description>&lt;P&gt;Yup, HubSpot changed the is_present function to is_known (presumably to align with the terminology they use in filters)!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 20:37:04 GMT</pubDate>
    <dc:creator>markmhaddad</dc:creator>
    <dc:date>2023-11-06T20:37:04Z</dc:date>
    <item>
      <title>Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/250937#M10873</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, we have the enterprise level HubSpot account and have been working on creating calculation properties to add together transactional pieces. There is a major roadblock with this property as it doesn't&amp;nbsp;allow a calculation formula to run if there is a blank property. Is there any sort of workaround for this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KP&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 22:56:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/250937#M10873</guid>
      <dc:creator>GiantVoices</dc:creator>
      <dc:date>2019-02-05T22:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251032#M10884</link>
      <description>&lt;P&gt;Hi KP,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've ran into similar issues (mostly with IE not handling calc well in some cases) and what I did was add a first "default" declaration in the CSS with the calc afterwards.&amp;nbsp;If the calc isn't working it should apply the previous CSS declaration. Like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;.your-selector {
  height: 100px;
  height: calc( {{ value }} * 3 );
}&lt;/PRE&gt;&lt;P&gt;If the calc height value isn't working it should default to 100px above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case it's getting the opacity from the colour picker:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    .sog_team-member .sog_team-member-content {
      background: linear-gradient(
        rgba({{ module.default_image_overlay_colour_1.color|convert_rgb }}, &lt;STRONG&gt;0.6&lt;/STRONG&gt;), 
        rgba({{ module.default_image_overlay_colour_2.color|convert_rgb }}, &lt;STRONG&gt;0.6&lt;/STRONG&gt;)  
      ); /* IE has trouble with nested calculations - defaulting to 0.6 */
      background: linear-gradient(
        rgba({{ module.default_image_overlay_colour_1.color|convert_rgb }}, calc({{ module.default_image_overlay_colour_1.opacity }} / 100)), 
        rgba({{ module.default_image_overlay_colour_2.color|convert_rgb }}, calc({{ module.default_image_overlay_colour_2.opacity }} / 100))  
      );
    }&lt;/PRE&gt;&lt;P&gt;In the first "background" above it uses an rgba value with an opacity of 0.6 and in the second it calculates that opacity based on what the user selected in the colour picker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Stephanie O'Gay Garcia&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;HubSpot Design / Development&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.stephanieogaygarcia.com?utm_source=HubSpotCommunity" target="_blank"&gt;Website&lt;/A&gt; | &lt;A href="http://www.stephanieogaygarcia.com/contact?utm_source=HubSpotCommunity" target="_blank"&gt;Contact&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#32C43F"&gt;&lt;I&gt;If this helped, please mark it as the solution to your question, thanks!&lt;/I&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:19:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251032#M10884</guid>
      <dc:creator>Stephanie-OG</dc:creator>
      <dc:date>2019-02-06T13:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251057#M10890</link>
      <description>&lt;P&gt;Hello Stephanie,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although this a great solution, I don't believe it solves the issue with the "Calculation" property and the inability to complete the equation if there is a blank property. Below is one of the more basic equations we're looking to compute across all companies.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-02-06 at 8.31.08 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/14666iC3C9B5FB951C4D0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-02-06 at 8.31.08 AM.png" alt="Screen Shot 2019-02-06 at 8.31.08 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KP&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 14:33:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251057#M10890</guid>
      <dc:creator>GiantVoices</dc:creator>
      <dc:date>2019-02-06T14:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251065#M10891</link>
      <description>&lt;P&gt;Apologies, I spend a lot of time stuck in CMS and was thinking of the CSS calc() function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To solve the problem with your calculation property, perhaps you can use a Workflow to set a value of 0 (or some other default) if the property is unknown?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1402"&gt;@MFrankJohnson&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/4710"&gt;@bradmin&lt;/a&gt;&amp;nbsp;use the CRM more than myself and might have a better solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Stephanie O'Gay Garcia&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;HubSpot Design / Development&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.stephanieogaygarcia.com?utm_source=HubSpotCommunity" target="_blank"&gt;Website&lt;/A&gt; | &lt;A href="http://www.stephanieogaygarcia.com/contact?utm_source=HubSpotCommunity" target="_blank"&gt;Contact&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 14:54:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251065#M10891</guid>
      <dc:creator>Stephanie-OG</dc:creator>
      <dc:date>2019-02-06T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251068#M10892</link>
      <description>&lt;P&gt;No problem, Stephanie!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workflow is a great idea. However, the client does not like the idea as some of their "0" values within their properties does not mean the value as 0 so we are unable to implement that plan of attack. Are there any other options like conditional formatting, etc.?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KP&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 14:58:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/251068#M10892</guid>
      <dc:creator>GiantVoices</dc:creator>
      <dc:date>2019-02-06T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/295384#M13847</link>
      <description>&lt;P&gt;I agree with this entirely - except, I'd add another bigger issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The proposed solution of setting the input properties to 0 if blank&amp;nbsp;&lt;EM&gt;doesn't work.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that calculated properties treat "0" and "unknown" as the same thing. This is crazy for a tool that is supposed to allow you to add and multiply values - sometimes it's important that you can add "0".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case in point - we use calculated properties to track costs relating to a project. Our costs are input in various categories. We use a calculated property to add these up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue - We dont always have costs in all the categories, so naturally we input "0".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The consequence of this is that the calculated property "total costs" &lt;STRONG&gt;does not add up!&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there's a reason for this I dont understand it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why not give us some control over this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.G.&lt;/P&gt;&lt;P&gt;- Calculate if any of the input values are known&lt;/P&gt;&lt;P&gt;- Calculate if all of the input values are known&lt;/P&gt;&lt;P&gt;- Treat unknown numbers as "0" or some other integer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Etc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 09:19:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/295384#M13847</guid>
      <dc:creator>TheoB</dc:creator>
      <dc:date>2019-10-08T09:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/297250#M13995</link>
      <description>&lt;P&gt;I also encountered the same case&lt;BR /&gt;I think Hubspot should add one condition when setting up fields with the following numeric format: if the field has no value, there are two options for users to choose to be blank or zero.&lt;BR /&gt;so the calculated fields will work&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 04:21:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/297250#M13995</guid>
      <dc:creator>huentt</dc:creator>
      <dc:date>2019-10-17T04:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/334048#M16303</link>
      <description>&lt;P&gt;Any updates on this? I just ran into the same challenge and I'm hoping someone has a work around.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 02:51:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/334048#M16303</guid>
      <dc:creator>SteveES</dc:creator>
      <dc:date>2020-04-24T02:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/334194#M16308</link>
      <description>&lt;P&gt;Hello Steve,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I've reached out to many HubSpot Support team members and they were unable to provide an acceptable solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's disappointing. However, my team is continually testing within the platform and will let you know if we can find an acceptable solution.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 14:18:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/334194#M16308</guid>
      <dc:creator>GiantVoices</dc:creator>
      <dc:date>2020-04-24T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/384311#M19439</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested this with a customer today. Setting the properties included in the calculation property to 0 did work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To configure this, you can:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create the calculated property using two number properties.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Calculation Property.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33932i8A7E0F9F76295FFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Calculation Property.png" alt="Calculation Property.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;On the contact record, add 0 for any values that are unknown.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;EM style="font-family: inherit;"&gt;When the value for Number property 2 is blank, the &lt;STRONG&gt;Calculated number property is unknown.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Calculated Property2.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33935i865E625B592AF71B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Calculated Property2.png" alt="Calculated Property2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;When the value for Number property 2 is 0, the &lt;STRONG&gt;Calculated number property is calculated.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Calculated Property3.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33936i96B95F4F7F684F45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Calculated Property3.png" alt="Calculated Property3.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps! Please let me know if you have any questions!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Melinda | (She/Her)&lt;/P&gt;
&lt;P&gt;&lt;SUP&gt;Customer Support Specialist&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 13:54:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/384311#M19439</guid>
      <dc:creator>MelindaNelson</dc:creator>
      <dc:date>2020-11-08T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/384752#M19464</link>
      <description>&lt;P&gt;Just want to add a workflow to make sure that all blank properties used in calcuated property formulas are auto-updated to zero as new contacts/objects are added to the CRM. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 23:46:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/384752#M19464</guid>
      <dc:creator>MFrankJohnson</dc:creator>
      <dc:date>2020-11-06T23:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/431473#M22726</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1402"&gt;@MFrankJohnson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, Frank,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running into this exact issue now - Is there a best practice to set multiple default values to zero in a single workflow, or did you have to create multiple workflows to set multiple default values?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 16:27:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/431473#M22726</guid>
      <dc:creator>CTeeling</dc:creator>
      <dc:date>2021-04-26T16:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/441796#M23329</link>
      <description>&lt;P&gt;I've built workflows that set the property to 0 if unkown but then the problem is if you have a calculation property that references another calculation, there's no way of getting the second calculation to work if all of the criteria are not met.&amp;nbsp; Pretty frustrating.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 18:31:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/441796#M23329</guid>
      <dc:creator>sgerrits</dc:creator>
      <dc:date>2021-05-27T18:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/453643#M23882</link>
      <description>&lt;P&gt;The simplest way I have found to do this is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First we want to check the value to see if there is anything entered in there. Hence "less than or equal to $0 or EMPTY".&lt;/LI&gt;&lt;LI&gt;If value is empty, then set the property to be 0.&lt;/LI&gt;&lt;LI&gt;If value is not empty or is greater than $0 then "go to action"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This second action is repeating the same steps as above on the next value that needs to be checked.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Deflow_0-1625116689033.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/45511i44820942DB9E97A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Deflow_0-1625116689033.png" alt="Deflow_0-1625116689033.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do like the method above using calculated values but if you are not on an enterprise account then you need to use your 5 calulated fields sparingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 05:21:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/453643#M23882</guid>
      <dc:creator>Deflow</dc:creator>
      <dc:date>2021-07-01T05:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/460138#M24061</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe I may have found a solution to this issue. A bit of effort upfront, but it definitely works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say: Property A + Property B + Property C = Calculation Property X&lt;/P&gt;&lt;P&gt;For each of Property A, B and C, just create a new calculation property, maybe labeled "Property A Calc", where you do (Property A x Constant 1) = Property A Calc. If Property A is blank, the Property A Calc property will be 0. If Property A is known, Property A Calc = Property A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So then to get Calculation Property X, you would just do Property A Calc + Property B Calc + Property C Calc. Then it runs perfectly! AND you don't need to do any workflows and you maintain the blank status of the original field which is important!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 19:04:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/460138#M24061</guid>
      <dc:creator>MHill4</dc:creator>
      <dc:date>2021-07-15T19:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/517438#M25793</link>
      <description>&lt;P&gt;Thank you MHill4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should be the value for Constant 1 in the formula or should I create a new porperty named Constant 1?&lt;BR /&gt;Thanks for clarifying.&lt;BR /&gt;&lt;BR /&gt;Andres&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 15:27:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/517438#M25793</guid>
      <dc:creator>andresmorera</dc:creator>
      <dc:date>2021-10-28T15:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/517498#M25794</link>
      <description>&lt;P&gt;Sorry, by Constant 1, I just meant the number 1.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In the calculation property A for example, your formula would be: (Property A x 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That way unknowns for Property A stay unknown, but you can still include those in calculations as 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/62593"&gt;@GiantVoices&lt;/a&gt;&amp;nbsp;example above. You would make a new calculation property for each of the properties in the proposed formula. For example "2015 Q1 Payment Amount Calc," which would equal (2015 Q1 Payment Amount x 1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For records with unknown 2015 Q1 Payment Amount, 2015 Q1 Payment Amount Calc = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For records with a number entered in 2015 Q1 Payment Amount, 2015 Q1Payment Amount = the same number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does that help?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 16:33:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/517498#M25794</guid>
      <dc:creator>MHill4</dc:creator>
      <dc:date>2021-10-28T16:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/532153#M26301</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/176873"&gt;@MHill4&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for this workaround. Could you maybe share a screenshot of your solution? I cannot get it to work myself - if I multiply an unknown value times 1, I still get unknown, not 0...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarijnAIHR_0-1637845371723.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/54571i4F5A18D6DFD470A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarijnAIHR_0-1637845371723.png" alt="MarijnAIHR_0-1637845371723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarijnAIHR_1-1637845395174.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/54572i61129D81319023D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarijnAIHR_1-1637845395174.png" alt="MarijnAIHR_1-1637845395174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 13:03:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/532153#M26301</guid>
      <dc:creator>MarijnAIHR</dc:creator>
      <dc:date>2021-11-25T13:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/543045#M26518</link>
      <description>&lt;P&gt;I'm not sure how this solution would help if the calculation property is calculating "Time Between". How do you put in a 0 value for a date? And even if there's a way, what about in an example where you're trying to calculate how long a deal has been in each stage for? If the deal is still in that stage you don't want a date set for it yet, but it's still a running count which isn't even being counted.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 20:38:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/543045#M26518</guid>
      <dc:creator>Ryamak</dc:creator>
      <dc:date>2021-12-15T20:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Property Doesn't Work if a Property is Blank</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/664107#M29453</link>
      <description>&lt;P&gt;In case anyone stumbles upon this like I did - I also couldn't get this to work and instead used workflows to set the default property to 0.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 23:09:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Calculation-Property-Doesn-t-Work-if-a-Property-is-Blank/m-p/664107#M29453</guid>
      <dc:creator>JoshBarber</dc:creator>
      <dc:date>2022-07-12T23:09:13Z</dc:date>
    </item>
  </channel>
</rss>

