# \# of Associated Contacts (or Deals) for Custom Objects

**URL:** <https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237>\
**Category:** Dashboards & Reporting\
**Tags:** enterprise\
**Created:** [May 4, 2022, 7:47pm UTC](https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237 "2022-05-04T19:47:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JKlebanow](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jklebanow/32/7115_2.png) [@JKlebanow](https://community.hubspot.com/u/JKlebanow)\
**Post date:** [May 4, 2022, 7:47pm UTC](https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237/1 "2022-05-04T19:47:04Z")

</div>

I’d like to be able to show the number of associated contacts I have for each of my custom object records (call it prospect events).

In short, I should be able to make a small database of upcoming events - associate the contacts (vendors) or deals (prospects) who are attending the event and then a simple graph:

x-axis: Prospect Event Name (Custom Object Property)

y-axis: # of Associated Contacts

When I click on the bar, I should be able to see the names of people attending the event.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [May 5, 2022, 4:21am UTC](https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237/2 "2022-05-05T04:21:12Z")

</div>

Hi @JKlebanow,

You should be able to leverage a [calculation property](https://knowledge.hubspot.com/crm-setup/create-calculation-properties) for this. Choose the calculation type “Count”, select the desired associated record type (Contact, Deal) and use “Create date” as the associated record property. This should then count all associated records of that object.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![JKlebanow](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jklebanow/32/7115_2.png) [@JKlebanow](https://community.hubspot.com/u/JKlebanow)\
**Post date:** [May 5, 2022, 3:36pm UTC](https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237/3 "2022-05-05T15:36:47Z")

</div>

Yes this definitely solved it! Thanks.

---

<div class="post-metadata">

**Author:** ![boydjk88](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/boydjk88/32/53328_2.png) [@boydjk88](https://community.hubspot.com/u/boydjk88)\
**Post date:** [January 4, 2023, 11:36pm UTC](https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237/4 "2023-01-04T23:36:54Z")

</div>

This is a huge help. Thanks @karstenkoehler !

---

<div class="post-metadata">

**Author:** ![JesusDelmas](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@JesusDelmas](https://community.hubspot.com/u/JesusDelmas)\
**Post date:** [June 16, 2023, 2:21am UTC](https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237/5 "2023-06-16T02:21:50Z")

</div>

thanks it worked perfectly

---

<div class="post-metadata">

**Author:** ![Caroline\_Pretty](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/caroline_pretty/32/56769_2.png) [@Caroline\_Pretty](https://community.hubspot.com/u/Caroline_Pretty)\
**Post date:** [March 28, 2025, 2:53pm UTC](https://community.hubspot.com/t/of-associated-contacts-or-deals-for-custom-objects/56237/6 "2025-03-28T14:53:47Z")

</div>

In a follow-up here, this method has updated slightly with some HubSpot updates since this solution in 2022. Instead of a calculation property, count is now an option under the Rollup field type.

So a slight adjustment here:

1. Go to your custom and hit the button “create property”
2. Instead of calculation as the field type, select “Rollup” as the field type
3. Then select “Count” as the Rollup type
4. Choose Number format (I prefer Unformatted)
5. Choose the associated record type of “Contact”
6. Choose association labels (likely default to “All association labels” if you have a singular, standard association setting fo the custom object
7. Choose the associated record property of “Create Date”
8. (optional to add contisional settings but not required.
9. Click save

Screenshot attached to this update and hope this helps!

Thanks!

Caroline

 ![1128964_1_Screenshot 2025-03-28 at 10.49.13 AM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/a/3a4dc47b91a4a8a01a4c2c497d9fe5067a07dde0.png)
