In this lesson, you will create an instance metric for
price per order.
The Price per Order metric is used as a source for aggregations
that average the order prices and also total the order prices.
- Click Add to add a new instance
metric.
- Enter the name as Price per Order.
- For the Type, select Instance
metric.
- In the Description field, type price
per order.
- Under Instance Metric Calculation Details, select Specify
how to calculate this instance metric. In the Template field,
select Business Item Input. In the Process
element field, select OrderHandling.
For the Attribute field, click on the Browse button.
In the Business Item Attribute Selection window, expand Order
(Order) and select TotalPrice.
Click OK. The selection displays as Order.TotalPrice
(Order).
- Click OK and save your work.