PostHog / PostHog/posthog

Avg Session Duration Error applied to Cohorts

Open
#21,171 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature/insights feature/trends team/product-analytics
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

Bug description

I have set a filter for Interal Users based on an established Cohort. It appears that a report of Avg Session Duration encounters an error when adding a Cohort Filter

image

image

If you are on PostHog Cloud it would be really valuable if you can share any links where the problem occurs. This speeds up our ability to troubleshoot tremendously.

How to reproduce

  1. Create Report - All Events -> Property Value Average -> Session Duration
  2. Apply Cohort Filter

Environment

  • PostHog Cloud US, project ID: [48292]

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.

Research direction

Reproduce the report flow described: All Events → Property Value Average → Session Duration, then apply an established Cohort Filter. Use the linked screenshots and reported error as the starting point for tracing the affected report and cohort handling. Done means Avg Session Duration works with a Cohort Filter without the reported error.

Written by the indexing model from the issue text.

Assessment

Domain
analytics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.