# Report on Line Items

**URL:** <https://community.hubspot.com/t/report-on-line-items/125840>\
**Category:** CRM\
**Tags:** enterprise\
**Created:** [February 11, 2025, 1:43pm UTC](https://community.hubspot.com/t/report-on-line-items/125840 "2025-02-11T13:43:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maulpaurer](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@maulpaurer](https://community.hubspot.com/u/maulpaurer)\
**Post date:** [February 11, 2025, 1:43pm UTC](https://community.hubspot.com/t/report-on-line-items/125840/1 "2025-02-11T13:43:46Z")

</div>

Hello,

is it possible to create a Reporting Property on Company Level that looks into deals to count specific line items + their amounts?

Lets say I have 2 deals for one company and of Line Item A both deals have the amount 2 in them.  
Is it possible (maybe rollup) to sum the amount of Line items into this calculated property on the Company Level?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![LSchmidt63](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@LSchmidt63](https://community.hubspot.com/u/LSchmidt63)\
**Post date:** [February 11, 2025, 4:11pm UTC](https://community.hubspot.com/t/report-on-line-items/125840/2 "2025-02-11T16:11:11Z")

</div>

Hi @maulpaurer,

Yes, you can do this, but HubSpot doesn’t have a built-in roll-up feature for line items at the company level.

One way to work around this is by using a workflow. You can create a custom property on the Company object (Total Line Item A Amount) and set up a workflow that triggers when a deal containing Line Item A is created or updated. The workflow can then sum the values and store them in the Company property.

Hope it helps you to complete your task

---

<div class="post-metadata">

**Author:** ![maulpaurer](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@maulpaurer](https://community.hubspot.com/u/maulpaurer)\
**Post date:** [February 12, 2025, 8:29am UTC](https://community.hubspot.com/t/report-on-line-items/125840/3 "2025-02-12T08:29:25Z")

</div>

Thank you.  
This should be done with Custom Code, right?

Something like

output\_value += Amount Line Item A  
?  
Thanks again

---

<div class="post-metadata">

**Author:** ![Chaofan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chaofan/32/53065_2.png) [@Chaofan](https://community.hubspot.com/u/Chaofan)\
**Post date:** [February 11, 2025, 4:30pm UTC](https://community.hubspot.com/t/report-on-line-items/125840/4 "2025-02-11T16:30:34Z")

</div>

Hi @maulpaurer,

If the ultimate goal is to create reports, you could directly use custom report builder to achieve it:

1. Select Company, Deals, Line Items as data sources
2. Set Company Name as x-axis
3. Not sure what you mean by amount
  1. if it’s sum of quantity, set Quantity as y-axis
  2. if it’s sum of price, set Net price as y-axis

4. Break down by Line items Name
5. Apply relevant filters (e.g. Create date)

Best,

Chaofan Wu
