> ## Documentation Index
> Fetch the complete documentation index at: https://docs.queryful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscriptions

> Active subscriptions, and those added and canceled.

Active subscriptions, and those added and canceled.

## Example

```sql theme={null}
FROM subscriptions
  SHOW active_subscriptions, subscriptions_added
  SINCE startOfMonth(-1m) UNTIL today
  ORDER BY active_subscriptions DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `active_subscriptions` | Number | Subscriptions active on the last day of the period. |
| `subscriptions_added` | Number | Subscriptions started in the period. |
| `subscriptions_canceled` | Number | Subscriptions canceled in the period. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `shop.name`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Products](https://docs.queryful.app/queryfulql/datasets/products.md)
* [Price lists](https://docs.queryful.app/queryfulql/datasets/price_lists.md)
* [Selling plans](https://docs.queryful.app/queryfulql/datasets/subscription_plans.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.