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
19.45k stars 1.14k forks source link

Bug report: Cohorts - Exporting omits the ID seen in the `Person` column #23462

Open slshults opened 4 days ago

slshults commented 4 days ago

Bug Description

Bug description

When on a cohort page:

When I click 'export' and 'current columns' on this page, the person ID is suddenly the same as the ID. Therefore I am unable to use this to match the data back to our internal system which has Person ID. I attach the export for your reference.

CleanShot 2024-07-03 at 16 42 55@2x

Example cohort: https://us.posthog.com/project/60913/cohorts/76772

How to reproduce

  1. Create or view a cohort
  2. Export current columns to a csv file
  3. Open the file
  4. Compare the IDs in the first two columns with the IDs displayed in the first two columns of the UI
  5. Notice that the ID displayed the leftmost column (Persons) in the UI, is replaced by the ID displayed in the ID column of the UI, as in the screenshot above

The ID displayed the leftmost column (Persons) in the UI is also not found in the exported file when exporting "All columns"

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/15369

Debug info

Admin: http://go/adminOrgUS/018c7a63-e197-0000-c80b-c72916710820 (Project: 60913)
Sentry: http://go/sentryUS/60913