Follow the Metric Recipe below to create the metric:
1. Set up the dataset
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 the Dataset
Data Source
Views
Columns
Hubspot CRM
Leads
Call Count
Lead Owner
Created at
b) Edit or create additional datasets if required
The column Lead owner is a foreign key referencing the Owners table. You must include the full name of the owner from the Owners dataset.
Data Source
Views
Columns
HubSpot CRM
Owners
FirstName
LastName
c) Create a new Calculated Column to combine FirstName and LastName
Edit the Owners Dataset and create a new calculated column by clicking on the + icon on the right side.
Insert the following function: CONCAT($FirstName, ' ', $LastName)
Rename the column to Full owner name.
Save the Dataset.
d) Merge Datasets together
Dataset
Column to join
Operator
Leads
Lead Owner
Left Join
Owners
Id
2. Create the Custom Metric
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
Call Count
Date
Created at
Dimension
Full Owner Name
Aggregation
SUM
Check out the Schema Explorer to learn more about all supported views and columns/properties: HubSpot CRM Schema Explorer