Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document experiments data warehouse integration MVP #10070

Merged
merged 9 commits into from
Dec 5, 2024
Prev Previous commit
Next Next commit
Fix formatting
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
  • Loading branch information
danielbachhuber and ivanagas authored Dec 5, 2024
commit 3e8ab8d9e60f4bf9f9f7f4de29070f05c52349b8
10 changes: 5 additions & 5 deletions contents/docs/experiments/data-warehouse.mdx
Original file line number Diff line number Diff line change
@@ -8,11 +8,11 @@ Evaluating experiment metrics always depends on events. They rely on something h

To use a data warehouse table with an experiment, you'll first need to join the 'events' table to your data warehouse table:

1. Navigate to Data warehouse and click on 'Add join' from the triple dot menu next to your table.
2. Join the 'events' table to your data warehouse table:
a. Under 'Source Table Key', specify a column that holds the value of the `distinct_id` present for the `$feature_flag_called` event.
b. Check 'Optimize for Experiments' to ensure only the most recent matching event is joined to your table.
c. Under 'Source Timestamp Key', specify a column that represents the timestamp of the table row. It will be compared with the event timestamp to determine the most recent `$feature_flag_called` event for the row.
1. Navigate to the [Data warehouse](https://us.posthog.com/data-warehouse) tab and click on **Add join** from the triple dot menu next to your table.
2. Join the `events` table to your data warehouse table:
a. Under **Source Table Key**, specify a column that holds the value of the `distinct_id` present for the `$feature_flag_called` event.
b. Check **Optimize for Experiments** to ensure only the most recent matching event is joined to your table.
c. Under **Source Timestamp Key**, specify a column that represents the timestamp of the table row. It will be compared with the event timestamp to determine the most recent `$feature_flag_called` event for the row.

<ProductScreenshot
imageLight = "https://res.cloudinary.com/dmukukwp6/image/upload/add_join_light_fc0e4cab91.png"
Loading