In Databox, you can report on sales performance using HubSpot Sales/CRM and visualize how efficiently deals are being closed by each rep. As an example, you can track Average Time to Close Deal by Rep to understand how long it takes individual reps to close a deal from start to finish during a given period. To set this up, you will need to:
1. Create The Datasets
Ensure that you have the following views and columns included in your dataset. Read more about how to create a dataset.
a) Include these columns in your Deals Dataset
Datasource
Views
Columns
HubSpot CRM
Deals
Id
Close Date
Days to Close
Deal Owner
b) Include these columns in your Owners Dataset
Datasource
Views
Columns
HubSpot CRM
Owners
Id
First Name
Last Name
c) Merge The Datasets
Dataset
Column to join
Operator
Deals
Deal Owner
Left Outer Join
Owners
ID
d) Create a Calculated Column in the Merged Dataset
If you would like to report on the rep's activities by both the first and last Name, a new calculated column needs to be created. Read more on how to add a calculated column to a dataset here.
Use the formula: CONCAT($FirstName, ' ', $LastName)
Name your Calculated Column "Full Name"
2. Create the Custom Metric with the merged Dataset
Navigate to Metric Builder and create a new Custom Metric by selecting the dataset created in the previous step. Fill out the fields as shown in the table below.
Read more about how to create a custom metric
Field
Value
Measure
Days to Close
Date
Close Date
Dimension
Full Name (Calculated Column)
Aggregation
AVG
Check out the Schema Explorer to learn more about all supported views and columns/properties: https://schema-explorer-nu.vercel.app/?integrationkey=HubspotCrm