<?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 Building Conversion Formulas in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/874629#M1871</link>
    <description>&lt;P&gt;I'm attempting to build out an MQL to SAL conversion rate, which in theory, is very easy, but I need to add a few caviats for them. I am attempting to pull only SALs from our "default" pipeline that have been created this year and have mql influence as a known value for one field in the dataset. This is what the AI keeps writing for me, but I keep getting an error about the syntax (which seems silly since the AI wrote it).&lt;BR /&gt;&lt;BR /&gt;DISTINCT_COUNT(IF(((([DEAL.pipeline] = "default") AND (DATEPART("YEAR", [DEAL.createdate]) = DATEPART("YEAR", NOW()))) AND [DEAL.mql_influence] [IS NOT NULL]), [DEAL.hs_object_id], NULL))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anybody have any thoughts on how to better write this?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2023 20:15:16 GMT</pubDate>
    <dc:creator>CWat44</dc:creator>
    <dc:date>2023-11-03T20:15:16Z</dc:date>
    <item>
      <title>Building Conversion Formulas</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/874629#M1871</link>
      <description>&lt;P&gt;I'm attempting to build out an MQL to SAL conversion rate, which in theory, is very easy, but I need to add a few caviats for them. I am attempting to pull only SALs from our "default" pipeline that have been created this year and have mql influence as a known value for one field in the dataset. This is what the AI keeps writing for me, but I keep getting an error about the syntax (which seems silly since the AI wrote it).&lt;BR /&gt;&lt;BR /&gt;DISTINCT_COUNT(IF(((([DEAL.pipeline] = "default") AND (DATEPART("YEAR", [DEAL.createdate]) = DATEPART("YEAR", NOW()))) AND [DEAL.mql_influence] [IS NOT NULL]), [DEAL.hs_object_id], NULL))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anybody have any thoughts on how to better write this?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 20:15:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/874629#M1871</guid>
      <dc:creator>CWat44</dc:creator>
      <dc:date>2023-11-03T20:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Building Conversion Formulas</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/875097#M1874</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/459048"&gt;@CWat44&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Community!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is very interesting about the AI! Are you using ChatSpot or another AI tool?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Did you try modifying the syntax after the AI wrote it?&amp;nbsp;Do you have a screenshot of the error you are seeing, please?&amp;nbsp; If you could share a bit more on any steps you have taken so far on your end and examples, this can help the community offer better advice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 09:16:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/875097#M1874</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2023-11-06T09:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Building Conversion Formulas</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/875410#M1878</link>
      <description>&lt;P&gt;I've tried updating the properties in the formula to make sure they are correct and I get the same error issues. I'm not quite sure what about the syntax would be off with this section "((([DEAL.pipeline] = "default") AND (DATEPART("YEAR", [DEAL.createdate]) = DATEPART("YEAR", NOW()))) AND [DEAL.mql_influence] [IS NOT NULL])"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to screenshot, but it's too long of a string to get in one pic (:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CWatson12_1-1699290241258.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/102676iE8DC105B125A7662/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CWatson12_1-1699290241258.png" alt="CWatson12_1-1699290241258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried a myriad of ways to attempt to get the AI to write it differently, but I get errors there as well.&lt;/P&gt;&lt;P&gt;DISTINCT_COUNT(IF(( AND (YEAR([DEAL.createdate]) = YEAR(NOW()))), [DEAL.mql_influence] [IS NOT NULL], ([DEAL.pipeline] = "default")), [DEAL.createdate], NULL) )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CWatson12_0-1699290182543.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/102675i923AB550A631203F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CWatson12_0-1699290182543.png" alt="CWatson12_0-1699290182543.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 17:07:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/875410#M1878</guid>
      <dc:creator>CWat44</dc:creator>
      <dc:date>2023-11-06T17:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Building Conversion Formulas</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/879278#M1897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/459048"&gt;@CWat44&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for the additional information and the examples!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wanted to invite our subject matter experts to see if they have insight.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20261"&gt;@louischausse&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/10166"&gt;@johnelmer&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148101"&gt;@ChristinaKay&lt;/a&gt;&amp;nbsp; - Have you created a similar dataset in HubSpot? Do you have any advice for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/459048"&gt;@CWat44&lt;/a&gt;? Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kristen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 13:40:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Building-Conversion-Formulas/m-p/879278#M1897</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2023-11-14T13:40:58Z</dc:date>
    </item>
  </channel>
</rss>

