PostHog / PostHog/posthog

Retention insights to calculate metrics other than just retention rate

Open
#46,663 1 comment 0 reactions 1 assignee View on GitHub

@anirudhpillai is already working on this.

Since Feb 3, 2026.

enhancement feature/retention team/product-analytics
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Feature request

Is your feature request related to a problem?

Retention insight/visualisation is useful lens to look at not just retention rate. The same visualisation/query structure should also support calculation of arbitrary metrics on an event/property.

Eventually when combined with data ware house support in retention insights, it will also enable users to calculate things like revenue retention.

Describe the solution you'd like

In the retention insight 'Advanced' options, expose ability to toggle between calculating the retention rate or any aggregation/calculation on property values (eventually even hogql expressions)

Describe alternatives you've considered

Just SQL which is very error prone/can't leverage the same visualisation

Additional context

https://posthog.slack.com/archives/C0862M4NJHG/p1769918816714519

Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.