rc_compare_periods
Compare a subscription metric between two date ranges, returning averages, totals, deltas, and percentage changes to spot month-over-month or year-over-year trends.
Instructions
Compare a metric across two time periods. Returns averages, totals, deltas, and percentage changes. Useful for month-over-month or year-over-year analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_name | Yes | The chart/metric to compare | |
| period1_end | Yes | Period A end date (YYYY-MM-DD) | |
| period2_end | Yes | Period B end date (YYYY-MM-DD) | |
| period1_start | Yes | Period A start date (YYYY-MM-DD) | |
| period2_start | Yes | Period B start date (YYYY-MM-DD) |