PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
21.95k stars 1.32k forks source link

Refer to dates dynamically in creating cohorts #25679

Open kincal opened 4 weeks ago

kincal commented 4 weeks ago

Feature request

Is your feature request related to a problem?

I want to create a cohort of people that joined yesterday or the day before and I cannot

Describe the solution you'd like

Be able to refer to today()-1 or -2, not just "After Last 1 day" as that includes today

Describe alternatives you've considered

Additional context

image

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]
dsert1 commented 4 weeks ago

I also want dynamic date support. See: https://github.com/PostHog/posthog/issues/25692