# Calculated properties for transactional data

**URL:** <https://community.hubspot.com/t/calculated-properties-for-transactional-data/11968>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [September 4, 2018, 9:54pm UTC](https://community.hubspot.com/t/calculated-properties-for-transactional-data/11968 "2018-09-04T21:54:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shamash](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/shamash/32/85769_2.png) [@Shamash](https://community.hubspot.com/u/Shamash)\
**Post date:** [September 4, 2018, 9:54pm UTC](https://community.hubspot.com/t/calculated-properties-for-transactional-data/11968/1 "2018-09-04T21:54:04Z")

</div>

We’re using the ecom bridge api to set up a custom ecom integration and would like to store calculated values for transactional data on contact properties as well as company properties, such as the contact’s average order value or lifetime order value or number of completed orders. Is there a way to do these calculations from within Hubspot?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 5, 2018, 6:23pm UTC](https://community.hubspot.com/t/calculated-properties-for-transactional-data/11968/2 "2018-09-05T18:23:13Z")

</div>

Hi @shamash,

Calculated and rollup properties were launched today ( **9/5/18** ) at INBOUND 2018 to Marketing Hub Enterprise, Sales Hub Enterprise, and Service Hub Enterprise subscriptions and offer this kind of functionality. Learn more about HubSpot’s INBOUND 2018 product announcements [here](https://blog.hubspot.com/customers/whats-new-in-the-hubspot-growth-platform-from-inbound-2018?hs_preview=AHYkPsUn-6128140883).

At this time, there are no plans to add calculated and rollup properties to other subscription types.

---

<div class="post-metadata">

**Author:** ![Shamash](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/shamash/32/85769_2.png) [@Shamash](https://community.hubspot.com/u/Shamash)\
**Post date:** [September 5, 2018, 7:48pm UTC](https://community.hubspot.com/t/calculated-properties-for-transactional-data/11968/3 "2018-09-05T19:48:48Z")

</div>

Interesting, good timing  
 ![slightly_smiling_face.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/2/42c4d129a1c6aa74d89f3066ee8fbb15db46b3b5.png)  
Thanks

---

<div class="post-metadata">

**Author:** ![Shamash](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/shamash/32/85769_2.png) [@Shamash](https://community.hubspot.com/u/Shamash)\
**Post date:** [September 11, 2018, 12:21pm UTC](https://community.hubspot.com/t/calculated-properties-for-transactional-data/11968/4 "2018-09-11T12:21:15Z")

</div>

By the way [@Isaac\_Takushi](https://community.hubspot.com/u/Isaac_Takushi), is it possible to do these calculations/rollups using the APIs?

---

<div class="post-metadata">

**Author:** ![Shamash](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/shamash/32/85769_2.png) [@Shamash](https://community.hubspot.com/u/Shamash)\
**Post date:** [September 11, 2018, 1:54pm UTC](https://community.hubspot.com/t/calculated-properties-for-transactional-data/11968/5 "2018-09-11T13:54:31Z")

</div>

Got it, thanks [@Isaac\_Takushi](https://community.hubspot.com/u/Isaac_Takushi)
