<?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: % Calculations in HubSpot (e.g. % Gross Profit) in Commerce Tools</title>
    <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1165525#M1471</link>
    <description>&lt;P data-start="86" data-end="166"&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806961"&gt;@marie9423498&lt;/a&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; — you're definitely on the right path, and this is a great use case.&lt;/P&gt;
&lt;P data-start="168" data-end="233"&gt;You're correct that the formula for &lt;STRONG data-start="204" data-end="222"&gt;% Gross Profit&lt;/STRONG&gt; is simple:&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre!"&gt;&lt;SPAN&gt;(Gross Profit / Revenue) * &lt;SPAN class="hljs-number"&gt;100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-start="273" data-end="424"&gt;However, the challenge comes from implementing that in &lt;STRONG data-start="328" data-end="363"&gt;HubSpot’s Custom Report Builder&lt;/STRONG&gt;, especially when you're working with &lt;STRONG data-start="401" data-end="423"&gt;Deals + Line Items&lt;/STRONG&gt;.&lt;/P&gt;
&lt;HR data-start="426" data-end="429" /&gt;
&lt;H3 data-start="431" data-end="464"&gt;Why This Is Tricky in HubSpot&lt;/H3&gt;
&lt;P data-start="466" data-end="701"&gt;HubSpot doesn’t currently support &lt;STRONG data-start="500" data-end="545"&gt;dividing one aggregated metric by another&lt;/STRONG&gt; (e.g. sum of margin ÷ sum of revenue) directly in the Custom Report Builder &lt;STRONG data-start="622" data-end="666"&gt;unless you have &lt;A href="https://knowledge.hubspot.com/data-management/create-and-use-datasets#:~:text=To%20create%20a%20formula%20field,on%20property%20and%20literal%20data." target="_blank" rel="noopener"&gt;formula fields available&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="791" data-end="947"&gt;Also, &lt;STRONG data-start="797" data-end="822"&gt;calculated properties&lt;/STRONG&gt; can’t be created for &lt;STRONG data-start="844" data-end="858"&gt;Line Items&lt;/STRONG&gt;, and calculated fields at the Deal level can't reference associated Line Items natively.&lt;/P&gt;
&lt;HR data-start="949" data-end="952" /&gt;
&lt;H3 data-start="954" data-end="972"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Your Options&lt;/H3&gt;
&lt;H4 data-start="974" data-end="1053"&gt;1. &lt;STRONG data-start="982" data-end="1023"&gt;Use Formulas in Custom Report Builder&lt;/STRONG&gt; (if your account supports it)&lt;/H4&gt;
&lt;P data-start="1054" data-end="1118"&gt;If you see an “Add formula” button in the Custom Report Builder:&lt;/P&gt;
&lt;UL data-start="1120" data-end="1343"&gt;
&lt;LI data-start="1120" data-end="1189"&gt;
&lt;P data-start="1122" data-end="1189"&gt;Add &lt;CODE data-start="1126" data-end="1141"&gt;Sum of Margin&lt;/CODE&gt; and &lt;CODE data-start="1146" data-end="1175"&gt;Sum of Total Contract Value&lt;/CODE&gt; to the report&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1190" data-end="1294"&gt;
&lt;P data-start="1192" data-end="1224"&gt;Click &lt;STRONG data-start="1198" data-end="1213"&gt;Add formula&lt;/STRONG&gt; and enter:&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="sticky top-9"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre!"&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class="hljs-built_in"&gt;Sum&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;Margin&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;]&lt;/SPAN&gt; &lt;SPAN class="hljs-operator"&gt;/&lt;/SPAN&gt; &lt;SPAN class="hljs-punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class="hljs-built_in"&gt;Sum&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hljs-built_in"&gt;Total&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;Contract&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;Value&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="hljs-operator"&gt;*&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI data-start="1295" data-end="1343"&gt;
&lt;P data-start="1297" data-end="1343"&gt;Name it &lt;CODE data-start="1305" data-end="1321"&gt;Gross Profit %&lt;/CODE&gt;, format as percentage&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1345" data-end="1428"&gt;That’ll do exactly what you’re looking for — a real-time calculation in the report.&lt;/P&gt;
&lt;HR data-start="1430" data-end="1433" /&gt;
&lt;H4 data-start="1435" data-end="1487"&gt;2. &lt;STRONG data-start="1443" data-end="1487"&gt;External Calculation via API or Workflow&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P data-start="1488" data-end="1559"&gt;If formulas aren't available in your account, consider this workaround:&lt;/P&gt;
&lt;UL data-start="1561" data-end="1834"&gt;
&lt;LI data-start="1561" data-end="1635"&gt;
&lt;P data-start="1563" data-end="1635"&gt;Create a custom property on the &lt;STRONG data-start="1595" data-end="1603"&gt;Deal&lt;/STRONG&gt; object (e.g., &lt;CODE data-start="1618" data-end="1634"&gt;Gross Profit %&lt;/CODE&gt;)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1636" data-end="1834"&gt;
&lt;P data-start="1638" data-end="1701"&gt;Use a third-party tool (Zapier, Make, or custom API script) to:&lt;/P&gt;
&lt;UL data-start="1704" data-end="1834"&gt;
&lt;LI data-start="1704" data-end="1767"&gt;
&lt;P data-start="1706" data-end="1767"&gt;Fetch the total margin and revenue from associated Line Items&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1770" data-end="1796"&gt;
&lt;P data-start="1772" data-end="1796"&gt;Calculate Gross Profit %&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1799" data-end="1834"&gt;
&lt;P data-start="1801" data-end="1834"&gt;Push it back to the Deal property&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1836" data-end="1881"&gt;Then you can report on the property normally.&lt;/P&gt;
&lt;HR data-start="1883" data-end="1886" /&gt;
&lt;H4 data-start="1888" data-end="1944"&gt;3. &lt;STRONG data-start="1896" data-end="1944"&gt;Export &amp;amp; Calculate in Excel or Google Sheets&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P data-start="1945" data-end="1962"&gt;Classic fallback:&lt;/P&gt;
&lt;UL data-start="1963" data-end="2099"&gt;
&lt;LI data-start="1963" data-end="2006"&gt;
&lt;P data-start="1965" data-end="2006"&gt;Export the data from your existing report&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2007" data-end="2044"&gt;
&lt;P data-start="2009" data-end="2044"&gt;Use a pivot table to group by month&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2045" data-end="2099"&gt;
&lt;P data-start="2047" data-end="2099"&gt;Create a column that does: &lt;CODE data-start="2074" data-end="2099"&gt;=Margin / Revenue * 100&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;HR data-start="2101" data-end="2104" /&gt;
&lt;H3 data-start="2106" data-end="2117"&gt;Summary&lt;/H3&gt;
&lt;DIV class="_tableContainer_16hzy_1"&gt;
&lt;DIV class="_tableWrapper_16hzy_14 group flex w-fit flex-col-reverse" tabindex="-1"&gt;
&lt;TABLE class="w-fit min-w-(--thread-content-width)" data-start="2119" data-end="2513"&gt;
&lt;THEAD data-start="2119" data-end="2154"&gt;
&lt;TR data-start="2119" data-end="2154"&gt;
&lt;TH data-start="2119" data-end="2128" data-col-size="sm"&gt;Option&lt;/TH&gt;
&lt;TH data-start="2128" data-end="2142" data-col-size="md"&gt;Description&lt;/TH&gt;
&lt;TH data-start="2142" data-end="2154" data-col-size="md"&gt;Best For&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY data-start="2191" data-end="2513"&gt;
&lt;TR data-start="2191" data-end="2323"&gt;
&lt;TD data-start="2191" data-end="2230" data-col-size="sm"&gt;&lt;STRONG data-start="2193" data-end="2229"&gt;Formula in Custom Report Builder&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2230" data-end="2274"&gt;Build the % field right inside the report&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2274" data-end="2323"&gt;If using Enterprise tiers or Reporting Add-on&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="2324" data-end="2429"&gt;
&lt;TD data-start="2324" data-end="2349" data-col-size="sm"&gt;&lt;STRONG data-start="2326" data-end="2348"&gt;API or Integration&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2349" data-end="2394"&gt;Push pre-calculated % into a Deal property&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2394" data-end="2429"&gt;If you have developer resources&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="2430" data-end="2513"&gt;
&lt;TD data-start="2430" data-end="2449" data-col-size="sm"&gt;&lt;STRONG data-start="2432" data-end="2448"&gt;Excel/Sheets&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2449" data-end="2482"&gt;Calculate manually post-export&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2482" data-end="2513"&gt;For quick monthly snapshots&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;DIV class="sticky end-(--thread-content-margin) h-0 self-end select-none"&gt;
&lt;DIV class="absolute end-0 flex items-end"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-start="2515" data-end="2665"&gt;Hope that helps! Let me know your HubSpot tier if you're unsure whether formulas are available — happy to confirm what’ll work best for your setup. &lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jun 2025 01:13:35 GMT</pubDate>
    <dc:creator>CHawkins</dc:creator>
    <dc:date>2025-06-17T01:13:35Z</dc:date>
    <item>
      <title>% Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164222#M1466</link>
      <description>&lt;P&gt;Hi Community,&lt;BR /&gt;Would like to hear advice and insights if you were able to solve a similar problem before.&lt;BR /&gt;I'm having a blocker on how to be able to calculate % percentages in HubSpot report.&lt;BR /&gt;&lt;BR /&gt;One specific use case is we would like to be able to calculate the % Gross Profit of all Deal Won this month. Using custom report builder and using Deal and Line items as data points we are able to calculate the Revenue (Sum of Total Contract Value) and Gross Profit (Sum of total contract value margin) as shown in the dummy report below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marie9423498_0-1749789391919.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148391iCBC74E2875841023/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marie9423498_0-1749789391919.png" alt="marie9423498_0-1749789391919.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My question is how to calculate the % Gross Profit. It is as simple as dividing both values x 100 i.e. (Total Margin / Revenue) x 100&lt;BR /&gt;&lt;BR /&gt;But I'm unsure how to implement this to have it show in the report? Any thoughts?&amp;nbsp;&lt;BR /&gt;I could not create a Line Item calculation property either as I could not find a Line item in the Property object (if you know what I mean).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marie9423498_1-1749789560066.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148392iEA4F104D83FB210F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marie9423498_1-1749789560066.png" alt="marie9423498_1-1749789560066.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 04:42:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164222#M1466</guid>
      <dc:creator>marie9423498</dc:creator>
      <dc:date>2025-06-13T04:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164509#M1467</link>
      <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806961"&gt;@marie9423498&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the great question. I can't fully test this one in my portal to test a custom formula just yet, but I did have a few clarifying questions.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;What is the name of the property that holds your total revenue? (e.g., “Total Contract Value”, “Amount”, etc.)&lt;/LI&gt;
 &lt;LI&gt;What is the name of the property that holds your total profit/margin in dollars? (e.g., “Total contract value margin”, “Total Margin”, etc.)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 16:18:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164509#M1467</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-06-13T16:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164970#M1468</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for getting back to me.&amp;nbsp;&lt;BR /&gt;It is actually a Line Item data point as shown when creating the report in the custom builder&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marie9423498_0-1750033879120.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148524i887CC39BD5365B3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marie9423498_0-1750033879120.png" alt="marie9423498_0-1750033879120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 00:31:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164970#M1468</guid>
      <dc:creator>marie9423498</dc:creator>
      <dc:date>2025-06-16T00:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164986#M1469</link>
      <description>&lt;P&gt;Thanks for clarifying&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806961"&gt;@marie9423498&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt; Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2062"&gt;@Josh&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73173"&gt;@franksteiner79&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/189123"&gt;@CHawkins&lt;/a&gt;, do&amp;nbsp;you have any reporting magic you can sprinkle here 🪄&lt;span class="lia-unicode-emoji" title=":top_hat:"&gt;🎩&lt;/span&gt;?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for taking a look! — Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 02:54:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1164986#M1469</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-06-16T02:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1165525#M1471</link>
      <description>&lt;P data-start="86" data-end="166"&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806961"&gt;@marie9423498&lt;/a&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; — you're definitely on the right path, and this is a great use case.&lt;/P&gt;
&lt;P data-start="168" data-end="233"&gt;You're correct that the formula for &lt;STRONG data-start="204" data-end="222"&gt;% Gross Profit&lt;/STRONG&gt; is simple:&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre!"&gt;&lt;SPAN&gt;(Gross Profit / Revenue) * &lt;SPAN class="hljs-number"&gt;100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-start="273" data-end="424"&gt;However, the challenge comes from implementing that in &lt;STRONG data-start="328" data-end="363"&gt;HubSpot’s Custom Report Builder&lt;/STRONG&gt;, especially when you're working with &lt;STRONG data-start="401" data-end="423"&gt;Deals + Line Items&lt;/STRONG&gt;.&lt;/P&gt;
&lt;HR data-start="426" data-end="429" /&gt;
&lt;H3 data-start="431" data-end="464"&gt;Why This Is Tricky in HubSpot&lt;/H3&gt;
&lt;P data-start="466" data-end="701"&gt;HubSpot doesn’t currently support &lt;STRONG data-start="500" data-end="545"&gt;dividing one aggregated metric by another&lt;/STRONG&gt; (e.g. sum of margin ÷ sum of revenue) directly in the Custom Report Builder &lt;STRONG data-start="622" data-end="666"&gt;unless you have &lt;A href="https://knowledge.hubspot.com/data-management/create-and-use-datasets#:~:text=To%20create%20a%20formula%20field,on%20property%20and%20literal%20data." target="_blank" rel="noopener"&gt;formula fields available&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="791" data-end="947"&gt;Also, &lt;STRONG data-start="797" data-end="822"&gt;calculated properties&lt;/STRONG&gt; can’t be created for &lt;STRONG data-start="844" data-end="858"&gt;Line Items&lt;/STRONG&gt;, and calculated fields at the Deal level can't reference associated Line Items natively.&lt;/P&gt;
&lt;HR data-start="949" data-end="952" /&gt;
&lt;H3 data-start="954" data-end="972"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Your Options&lt;/H3&gt;
&lt;H4 data-start="974" data-end="1053"&gt;1. &lt;STRONG data-start="982" data-end="1023"&gt;Use Formulas in Custom Report Builder&lt;/STRONG&gt; (if your account supports it)&lt;/H4&gt;
&lt;P data-start="1054" data-end="1118"&gt;If you see an “Add formula” button in the Custom Report Builder:&lt;/P&gt;
&lt;UL data-start="1120" data-end="1343"&gt;
&lt;LI data-start="1120" data-end="1189"&gt;
&lt;P data-start="1122" data-end="1189"&gt;Add &lt;CODE data-start="1126" data-end="1141"&gt;Sum of Margin&lt;/CODE&gt; and &lt;CODE data-start="1146" data-end="1175"&gt;Sum of Total Contract Value&lt;/CODE&gt; to the report&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1190" data-end="1294"&gt;
&lt;P data-start="1192" data-end="1224"&gt;Click &lt;STRONG data-start="1198" data-end="1213"&gt;Add formula&lt;/STRONG&gt; and enter:&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="sticky top-9"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre!"&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class="hljs-built_in"&gt;Sum&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;Margin&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;]&lt;/SPAN&gt; &lt;SPAN class="hljs-operator"&gt;/&lt;/SPAN&gt; &lt;SPAN class="hljs-punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class="hljs-built_in"&gt;Sum&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hljs-built_in"&gt;Total&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;Contract&lt;/SPAN&gt; &lt;SPAN class="hljs-variable"&gt;Value&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;]&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="hljs-operator"&gt;*&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;100&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI data-start="1295" data-end="1343"&gt;
&lt;P data-start="1297" data-end="1343"&gt;Name it &lt;CODE data-start="1305" data-end="1321"&gt;Gross Profit %&lt;/CODE&gt;, format as percentage&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1345" data-end="1428"&gt;That’ll do exactly what you’re looking for — a real-time calculation in the report.&lt;/P&gt;
&lt;HR data-start="1430" data-end="1433" /&gt;
&lt;H4 data-start="1435" data-end="1487"&gt;2. &lt;STRONG data-start="1443" data-end="1487"&gt;External Calculation via API or Workflow&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P data-start="1488" data-end="1559"&gt;If formulas aren't available in your account, consider this workaround:&lt;/P&gt;
&lt;UL data-start="1561" data-end="1834"&gt;
&lt;LI data-start="1561" data-end="1635"&gt;
&lt;P data-start="1563" data-end="1635"&gt;Create a custom property on the &lt;STRONG data-start="1595" data-end="1603"&gt;Deal&lt;/STRONG&gt; object (e.g., &lt;CODE data-start="1618" data-end="1634"&gt;Gross Profit %&lt;/CODE&gt;)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1636" data-end="1834"&gt;
&lt;P data-start="1638" data-end="1701"&gt;Use a third-party tool (Zapier, Make, or custom API script) to:&lt;/P&gt;
&lt;UL data-start="1704" data-end="1834"&gt;
&lt;LI data-start="1704" data-end="1767"&gt;
&lt;P data-start="1706" data-end="1767"&gt;Fetch the total margin and revenue from associated Line Items&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1770" data-end="1796"&gt;
&lt;P data-start="1772" data-end="1796"&gt;Calculate Gross Profit %&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1799" data-end="1834"&gt;
&lt;P data-start="1801" data-end="1834"&gt;Push it back to the Deal property&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1836" data-end="1881"&gt;Then you can report on the property normally.&lt;/P&gt;
&lt;HR data-start="1883" data-end="1886" /&gt;
&lt;H4 data-start="1888" data-end="1944"&gt;3. &lt;STRONG data-start="1896" data-end="1944"&gt;Export &amp;amp; Calculate in Excel or Google Sheets&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P data-start="1945" data-end="1962"&gt;Classic fallback:&lt;/P&gt;
&lt;UL data-start="1963" data-end="2099"&gt;
&lt;LI data-start="1963" data-end="2006"&gt;
&lt;P data-start="1965" data-end="2006"&gt;Export the data from your existing report&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2007" data-end="2044"&gt;
&lt;P data-start="2009" data-end="2044"&gt;Use a pivot table to group by month&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2045" data-end="2099"&gt;
&lt;P data-start="2047" data-end="2099"&gt;Create a column that does: &lt;CODE data-start="2074" data-end="2099"&gt;=Margin / Revenue * 100&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;HR data-start="2101" data-end="2104" /&gt;
&lt;H3 data-start="2106" data-end="2117"&gt;Summary&lt;/H3&gt;
&lt;DIV class="_tableContainer_16hzy_1"&gt;
&lt;DIV class="_tableWrapper_16hzy_14 group flex w-fit flex-col-reverse" tabindex="-1"&gt;
&lt;TABLE class="w-fit min-w-(--thread-content-width)" data-start="2119" data-end="2513"&gt;
&lt;THEAD data-start="2119" data-end="2154"&gt;
&lt;TR data-start="2119" data-end="2154"&gt;
&lt;TH data-start="2119" data-end="2128" data-col-size="sm"&gt;Option&lt;/TH&gt;
&lt;TH data-start="2128" data-end="2142" data-col-size="md"&gt;Description&lt;/TH&gt;
&lt;TH data-start="2142" data-end="2154" data-col-size="md"&gt;Best For&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY data-start="2191" data-end="2513"&gt;
&lt;TR data-start="2191" data-end="2323"&gt;
&lt;TD data-start="2191" data-end="2230" data-col-size="sm"&gt;&lt;STRONG data-start="2193" data-end="2229"&gt;Formula in Custom Report Builder&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2230" data-end="2274"&gt;Build the % field right inside the report&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2274" data-end="2323"&gt;If using Enterprise tiers or Reporting Add-on&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="2324" data-end="2429"&gt;
&lt;TD data-start="2324" data-end="2349" data-col-size="sm"&gt;&lt;STRONG data-start="2326" data-end="2348"&gt;API or Integration&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2349" data-end="2394"&gt;Push pre-calculated % into a Deal property&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2394" data-end="2429"&gt;If you have developer resources&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="2430" data-end="2513"&gt;
&lt;TD data-start="2430" data-end="2449" data-col-size="sm"&gt;&lt;STRONG data-start="2432" data-end="2448"&gt;Excel/Sheets&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2449" data-end="2482"&gt;Calculate manually post-export&lt;/TD&gt;
&lt;TD data-col-size="md" data-start="2482" data-end="2513"&gt;For quick monthly snapshots&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;DIV class="sticky end-(--thread-content-margin) h-0 self-end select-none"&gt;
&lt;DIV class="absolute end-0 flex items-end"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-start="2515" data-end="2665"&gt;Hope that helps! Let me know your HubSpot tier if you're unsure whether formulas are available — happy to confirm what’ll work best for your setup. &lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 01:13:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1165525#M1471</guid>
      <dc:creator>CHawkins</dc:creator>
      <dc:date>2025-06-17T01:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1165973#M1472</link>
      <description>&lt;P&gt;HubSpot makes it tricky to do calculated percentages like % Gross Profit when you're working with Line Items. So I totally hear you and it seems like you've been given a lot of options.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you go the spreadsheet route, you can get a lot out of leveraging &lt;A href="https://ecosystem.hubspot.com/marketplace/apps/coefficient" target="_blank" rel="noopener"&gt;Coefficient's&lt;/A&gt;, certified 2-way sync between HubSpot and Sheets or Excel on HubSpot's marketplace.&lt;BR /&gt;&lt;BR /&gt;You can pull HubSpot deal and line item data into your spreadsheet, then calculate metrics like % GP there. It's much easier to do the math (like Margin ÷ Revenue × 100), group by month, etc.&lt;BR /&gt;&lt;BR /&gt;Then, you can either 1) push the calculated data back to HubSpot to build your report there, or 2) just build your visualization in Sheets and embed it back into your HubSpot dashboard. I made a &lt;A href="https://www.linkedin.com/feed/update/urn:li:activity:7305228405547929601/" target="_blank" rel="noopener"&gt;quick video&lt;/A&gt; on how this works.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 23:33:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1165973#M1472</guid>
      <dc:creator>h-recker</dc:creator>
      <dc:date>2025-06-17T23:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1169027#M1483</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806961"&gt;@marie9423498&lt;/a&gt;&amp;nbsp;, did you try reaching out HubSpot support?&lt;/P&gt;
&lt;P&gt;In my opinion, if it is allowed with your subscription, you can try using Custom DATASET. Did you give it a try already?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 10:45:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1169027#M1483</guid>
      <dc:creator>Rajib_alimul</dc:creator>
      <dc:date>2025-06-25T10:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1169368#M1486</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/505430"&gt;@Rajib_alimul&lt;/a&gt;&amp;nbsp;, unfortunately we don't have operations hub. I did hear about it though and it is an option too, but kind of expensive.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 00:06:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1169368#M1486</guid>
      <dc:creator>marie9423498</dc:creator>
      <dc:date>2025-06-26T00:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: % Calculations in HubSpot (e.g. % Gross Profit)</title>
      <link>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1169676#M1487</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/806961"&gt;@marie9423498&lt;/a&gt;&amp;nbsp;, No worries. In that case, this is a little bit of a workaround but once setup, it will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Simple version:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Connect a Google sheet from Apps marketplace. If you have not used it, the integration is free.&lt;/LI&gt;
&lt;LI&gt;Through a workflow, post RAW data in Google sheet&lt;/LI&gt;
&lt;LI&gt;In a separate sheet, create a Pivot or other chart you like&lt;/LI&gt;
&lt;LI&gt;Embed the Google sheet Report tab in the HubSpot dashboard.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Advanced version&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;After Step 3 of the Simple version&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a Google Data Studio/Looker report&lt;/LI&gt;
&lt;LI&gt;Embed Looker report in HubSpot dashboard.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If you even face a problem with this, I would be happy to help over a short call&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 13:21:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Commerce-Tools/Calculations-in-HubSpot-e-g-Gross-Profit/m-p/1169676#M1487</guid>
      <dc:creator>Rajib_alimul</dc:creator>
      <dc:date>2025-06-26T13:21:19Z</dc:date>
    </item>
  </channel>
</rss>

