PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
20.61k stars 1.23k forks source link

Avg Session Duration Error applied to Cohorts #21171

Open ghost opened 5 months ago

ghost commented 5 months ago

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

mariusandra commented 5 months ago

Hey @troy-sheets , thanks for reporting! We're currently completely rewriting our insights. It's very possible the new version has this fixed. Can you try by enabling the "HogQL insights" feature preview, from the "Feature previews" panel (under your user/account menu).

Twixes commented 2 months ago

Found the error in Sentry: POSTHOG-1C23. We'll look into it.