segmentation_sum
Calculate total sums of numeric event properties over time to track metrics like revenue. Specify event, date range, and property to sum.
Instructions
Get the sum of a numeric event property over time. Useful for tracking totals like revenue.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Event name | |
| from_date | Yes | Start date (YYYY-MM-DD) | |
| to_date | Yes | End date (YYYY-MM-DD) | |
| on | Yes | Numeric property to sum (e.g. "properties[\"amount\"]") | |
| unit | No | Time unit for bucketing | |
| where | No | Filter expression |