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
21.23k stars 1.26k forks source link

Feature Request: Data warehouse table name as variable in dashboard template #23456

Open ivanagas opened 3 months ago

ivanagas commented 3 months ago

Feature request

Is your feature request related to a problem?

There is no way to set table name as a variable, so if users add a prefix, they will need to edit all the insights.

For example, the template currently uses prod_stripe_customer which won't work for users who didn't add the prod_ prefix.

Describe the solution you'd like

Other templates allow for event/action variables, would be nice to have table names as well.

CleanShot 2024-07-03 at 12 56 35

Describe alternatives you've considered

Asking users to edit all the insights themselves.

Additional context

I'm working on a dashboard template for Stripe insights

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]