<?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 [Closed] Support with custom formula: &amp;quot;OR&amp;quot; not working as expected in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1222781#M3283</link>
    <description>&lt;P&gt;Closed: Preview only showed limited data - Formula works as expected.&lt;BR /&gt;&lt;BR /&gt;Hi Community,&lt;BR /&gt;I am looking to create a field which should be true, if a contact has entered either the stage of marketingqualifiedlead OR salesqualifiedlead.&lt;BR /&gt;&lt;BR /&gt;So, this is what I wrote:&lt;BR /&gt;IF (IS_KNOWN([CONTACT.hs_v2_date_entered_salesqualifiedlead]) OR IS_KNOWN([CONTACT.hs_v2_date_entered_marketingqualifiedlead]), true, false)&lt;BR /&gt;&lt;BR /&gt;However, the result is actually only those contacts, for which both are true -&amp;gt; basicly what I would expect "AND" would do.&lt;BR /&gt;&lt;BR /&gt;Looking forward to your ideas.&lt;BR /&gt;Thank you,&lt;BR /&gt;Willem&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2025 09:01:26 GMT</pubDate>
    <dc:creator>WAllroggen</dc:creator>
    <dc:date>2025-11-12T09:01:26Z</dc:date>
    <item>
      <title>[Closed] Support with custom formula: "OR" not working as expected</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1222781#M3283</link>
      <description>&lt;P&gt;Closed: Preview only showed limited data - Formula works as expected.&lt;BR /&gt;&lt;BR /&gt;Hi Community,&lt;BR /&gt;I am looking to create a field which should be true, if a contact has entered either the stage of marketingqualifiedlead OR salesqualifiedlead.&lt;BR /&gt;&lt;BR /&gt;So, this is what I wrote:&lt;BR /&gt;IF (IS_KNOWN([CONTACT.hs_v2_date_entered_salesqualifiedlead]) OR IS_KNOWN([CONTACT.hs_v2_date_entered_marketingqualifiedlead]), true, false)&lt;BR /&gt;&lt;BR /&gt;However, the result is actually only those contacts, for which both are true -&amp;gt; basicly what I would expect "AND" would do.&lt;BR /&gt;&lt;BR /&gt;Looking forward to your ideas.&lt;BR /&gt;Thank you,&lt;BR /&gt;Willem&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 09:01:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1222781#M3283</guid>
      <dc:creator>WAllroggen</dc:creator>
      <dc:date>2025-11-12T09:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Support with custom formula: "OR" not working as expected</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1222782#M3284</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/777393"&gt;@WAllroggen&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks correct to me&amp;nbsp;– could you share a screenshot of the configuration that shows the 'incorrect' behavior?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would probably reach out to HubSpot support directly in-app via chat or email to check if this is expected behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also try a nested if statement and see if that works:&amp;nbsp;IF(IS_KNOWN([CONTACT.hs_v2_date_entered_salesqualifiedlead]), true, &lt;BR /&gt;IF(IS_KNOWN([CONTACT.hs_v2_date_entered_marketingqualifiedlead]), true, false))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 08:54:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1222782#M3284</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2025-11-12T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Support with custom formula: "OR" not working as expected</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1222787#M3285</link>
      <description>&lt;P&gt;Hi Karsten,&lt;BR /&gt;&lt;BR /&gt;thank you. I just saw I was tricked by the preview - which showed less results in the combined formula in comparison to having only one field.&lt;BR /&gt;&lt;BR /&gt;My formula is working as expected.&lt;BR /&gt;I will close this topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 08:59:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1222787#M3285</guid>
      <dc:creator>WAllroggen</dc:creator>
      <dc:date>2025-11-12T08:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Closed] Support with custom formula: "OR" not working as expected</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1234171#M3322</link>
      <description>&lt;DIV class="flex flex-col text-sm @w-xl/main:pt-header-height pb-25"&gt;
&lt;ARTICLE class="text-token-text-primary w-full focus:outline-none [--shadow-height:45px] has-data-writing-block:pointer-events-none has-data-writing-block:-mt-(--shadow-height) has-data-writing-block:pt-(--shadow-height) [&amp;amp;:has([data-writing-block])&amp;gt;*]:pointer-events-auto scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]" dir="auto" tabindex="-1" data-turn-id="request-WEB:2a9dabaa-1284-4331-930d-aa366e153198-71" data-testid="conversation-turn-14" data-scroll-anchor="true" data-turn="assistant"&gt;
&lt;DIV class="text-base my-auto mx-auto pb-10 [--thread-content-margin:--spacing(4)] @w-sm/main:[--thread-content-margin:--spacing(6)] @w-lg/main:[--thread-content-margin:--spacing(16)] px-(--thread-content-margin)"&gt;
&lt;DIV class="[--thread-content-max-width:40rem] @w-lg/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn" tabindex="-1"&gt;
&lt;DIV class="flex max-w-full flex-col grow"&gt;
&lt;DIV class="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal [.text-message+&amp;amp;]:mt-1" dir="auto" data-message-author-role="assistant" data-message-id="49e5a8b1-c168-4c1d-8f34-f5cedd2ab23c" data-message-model-slug="gpt-5-2"&gt;
&lt;DIV class="flex w-full flex-col gap-1 empty:hidden first:pt-[1px]"&gt;
&lt;DIV class="markdown prose dark:prose-invert w-full break-words light markdown-new-styling"&gt;
&lt;P data-start="202" data-end="342"&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/777393"&gt;@WAllroggen&lt;/a&gt;&amp;nbsp;, thanks for circling back and closing the loop. This one catches a lot of people, so it’s useful context for others reading later.&lt;/P&gt;
&lt;P data-start="344" data-end="711"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="344" data-end="711"&gt;You’re right, the formula itself is valid. The confusion almost always comes from the preview behavior, not the logic. In HubSpot, the preview only evaluates against a limited sample of records, and it doesn’t guarantee representativeness across lifecycle edge cases. When you combine conditions with OR, that sample can look misleadingly “stricter” than reality.&lt;/P&gt;
&lt;P data-start="713" data-end="980"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="713" data-end="980"&gt;In practice, once the property is saved and evaluated across the full contact set, IS_KNOWN(A) OR IS_KNOWN(B) behaves exactly as expected. Karsten’s nested IF suggestion is functionally equivalent, but not required if the preview is the only thing throwing you off. Good call to trust the actual data over the preview. This is one of those quiet HubSpot gotchas that isn’t obvious until you’ve been burned by it once.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/ARTICLE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Dec 2025 20:27:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Closed-Support-with-custom-formula-quot-OR-quot-not-working-as/m-p/1234171#M3322</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-12-15T20:27:51Z</dc:date>
    </item>
  </channel>
</rss>

