Why Filter Assignments
Users assigned by a flag that assigns all users behave differently from a flag that only assigns highly engaged users. This means the mean and variance of metrics differ for the two cohorts, and so do the required sample sizes. By filtering assignments in the exposure source on relevant flags, you ensure the exposure source is as similar as possible to your upcoming experiment.Enable Assignment Filtering
Adjust the SQL query to include a flag column
Add a column called
flag to your SQL query. The name can be in any case.Add the column in the Flag dimension section
Add the column in the Flag dimension section at the bottom right corner.
Filter Past Assignments on Flags
Open the sample size calculation widget
Click the icon in the Required sample size section to open the sample size calculation widget.
Edit the exposure source
Click the edit icon in the Exposure source section to edit the exposure source.

