This topic explains how to create Product-specific Aggregations to convert the usage data collected by your Product Meters into numerical measures:Documentation Index
Fetch the complete documentation index at: https://docs.m3ter.com/llms.txt
Use this file to discover all available pages before exploring further.
- The Product the target Meter belongs to when you create an Aggregation determines the Product the Aggregation belongs to.
- You can then use a Product-specific Aggregation as a pricing metric to set up usage-based pricing for Plans that belong to that specific Product.
- You cannot use a Product-specific Aggregation to price Plans that belong to another Product.
Creating and Managing Product Aggregations
To create a Product Aggregation:- Select Metering>Aggregations. The Aggregations page opens.
- In the Product drop-down, select the Product for which you want to create the new Aggregation. The Aggregations page adjusts and lists:
- Any existing Aggregations created for the selected Product.
- Any Global Aggregations, which are clearly labeled.
- Select Create Aggregation. The Aggregations>Create page opens.
- Configure Aggregation Details and enter a Name and Code for the Aggregation:
- Name. (Required)
- Code. (Required)
- Accounting product. Use the drop-down to select a Product. (Optional)
- For accounting purposes, you can use this to link to a specific Product any usage line items on Bills that result from pricing a Plan using this Aggregation:
- If you’ve also defined an Accounting product for a Pricing that uses this Aggregation, then the Pricing Accounting product takes precedence and is used.
- If no Accounting product is defined for a Pricing and you omit an Accounting product for the Aggregation, then the Product the Plan belongs to is used.
- For accounting purposes, you can use this to link to a specific Product any usage line items on Bills that result from pricing a Plan using this Aggregation:

- Configure Meter Settings:
- Meter. Select the Meter whose Data Field or Derived Field you want to use as the basis for the Aggregation. Note that only those Meters created for the selected Product will be available. If you’re creating a Global Aggregation only Global Meters will be available.
- Target Field. When you select a Meter, the Target Field drop-down list automatically populates with the Codes of any fields set up on that Meter. For example, select gb_stored:

- Configure Aggregation Settings:
- Aggregation. Select the method for aggregating the data collected by the selected Target Field. For example, if you want to use the summed value of gigabytes used, select Sum.
- Unit. For example, enter gigabytes. This will be used as a label for billing to indicate to your customers what they are being charged for.
- Quantity per unit. Enter the quantity by which you want to charge for the measured value. For example, if you want to charge your customers on a per-500 gigabytes used basis, enter 500.
- Rounding. Specifies how you want m3ter to deal with non-integer, that is fractional number, Aggregation values. See Reviewing Aggregation Options for example. Four options:
- None. Default
- Down
- Up
- Nearest. Rounds up to the nearest half: 5.1 is rounded to 5; 5.5 is rounded to 6.
- Note: Also used in conjunction with Quantity per unit setting. Rounds the number of units after the Quantity per unit has been applied. See Reviewing Aggregation Options for example.
- Default Value. If required, enter a default value to be used for the Aggregation if no usage-data is available from the selected Meter Target field:

- Configure Segments, if required. If you’ve set up non-numeric fields on the selected Meter and want to configure a segmented Aggregation using these, open the Segments panel. See Segmented Aggregations.
- Add any required Custom Fields to the Aggregation. For more on Custom Fields, see Adding and Editing Custom Fields. We strongly recommend reviewing Working with Custom Fields before you create and use Custom Fields.
- Select Create Aggregation. The Aggregation Details page opens - see Reviewing Aggregation Details.
- If you want to edit the Aggregation’s details, select the Edit button, make your changes, and click Update.
- If you want to remove an Aggregation, return to the Aggregations page and select the Delete button for the Aggregation:

- Select Yes to confirm the delete action.