Skip to main content
To help you understand the Calculated Attributes better let us consider an example. Assume that you are creating a calculated attribute with the name “3 months purchase value”. You are creating this attribute to capture the total cart checkout value for the “last 3 months”. In the process, you are going to do a “summation” to aggregate the revenue associated with the “Order_Completed” event name. You can further build the condition for the “Order_Completed” event name using the values from its mapped Zeotap Catalogue Field. These values can be associated with a product category like brand = Puma. Now that you have a fair understanding of the sample scenario, perform the following steps to create a calculated attribute:
1
Navigate to Calculated Attributes under Unify.
2
Under the Batch Attributes tab, click + Create Attribute.
3
In the Attribute name field, enter a descriptive name to refer to the calculated attribute.
4
In the Description field, enter a description to remember details about the attribute.
5
Select the appropriate Aggregation type using the drop-down menu. The values can be Average, Count, First Timestamp and more.
6
In Select a field, choose the attribute on which the calculation works based on the chosen aggregation type. Note that the fields available for Aggregation depends on the type of Aggregation choosen in the first step.
7
In event(s) field, provide the event names as shown in the image below(Non-mandatory step).
8
You can further specify conditions for your Calculated Attributes by clicking Add Condition. Note that you can also include Non-customer entity data in the conditions based on your requirement. 
9
In the Run Computation section, choose the time period for the calculation.
10
In the Group by field, select one or more attributes (up to 3) to define how the aggregated values should be grouped. Group by helps you break down one calculated attribute into multiple values.Example: Instead of calculating a single “3 months purchase value”, you can group it by Product Category to get the total purchase value separately for each category per user.Only attributes that are at the same level as the selected aggregation field are shown for Group by. For example, if the aggregation is performed on a property inside an object, then only the other properties of that same object (and any joined Non-Customer Entity attributes linked to it) will be available for Group by. Attributes from unrelated objects or levels will not be available.
11
Click Save to create the Calculated Attribute.
Last modified on February 26, 2026