# Sales data

**URL:** <https://community.hubspot.com/t/sales-data/110471>\
**Category:** Dashboards & Reporting\
**Tags:** campaigns\
**Created:** [July 1, 2024, 3:20pm UTC](https://community.hubspot.com/t/sales-data/110471 "2024-07-01T15:20:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DPazienza](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@DPazienza](https://community.hubspot.com/u/DPazienza)\
**Post date:** [July 1, 2024, 3:20pm UTC](https://community.hubspot.com/t/sales-data/110471/1 "2024-07-01T15:20:20Z")

</div>

How to calculate days between sales date/invoices. Also, how to predict when they will be ordering next?

---

<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:** [July 1, 2024, 3:23pm UTC](https://community.hubspot.com/t/sales-data/110471/2 "2024-07-01T15:23:11Z")

</div>

Hi @DPazienza,

The duration between two dates can be calculated using a calculation property: [Create calculation and rollup properties](https://knowledge.hubspot.com/properties/create-calculation-properties)

This requires a Professional or Enterprise subscription.

As of now, HubSpot cannot predict sales. There are [deal probabilities](https://knowledge.hubspot.com/records/use-deal-scores) but no prediction of when and how much. Such a prediction would require custom development based on the HubSpot API and machine learning models or third party integrations.

Best regards!

---

<div class="post-metadata">

**Author:** ![Lucila-Andimol](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lucila-andimol/32/69276_2.png) [@Lucila-Andimol](https://community.hubspot.com/u/Lucila-Andimol)\
**Post date:** [July 1, 2024, 7:51pm UTC](https://community.hubspot.com/t/sales-data/110471/3 "2024-07-01T19:51:50Z")

</div>

Hey @DPazienza

When you start seing the sales cycle you have with your clients

you can start predicting the next ordering and even creating a task for your team to get in touch

or even sending an email like “Hey its been 28 days since your last purchased, we are thinking you might be about to need this again…” This is generally use for recurring purchases in pharma, pet food, or super market companies.

As for the sales cycle you can start calculating the time between deals or between invoices with a calculation property.

A lot of this things can be done with automations if you have a big volume of transactions.

Hope this helps
