I'm trying to make a cohort of users who didn't perform X event prior to another, separate event occurring. What's the best way for me to do that?
There are two good approaches for this in Mixpanel:
Option 1: Cohort Builder (Users Page)
You can create this cohort directly from the Users page using a "did not do" condition:
Go to the Users page and open the Cohort Builder.
Add a condition for users who did the second event (Event B).
Add another condition for users who did not do the first event (Event X).
Use the AND operator to combine both conditions.
This lets you isolate users who performed Event B but never performed Event X. [Cohorts docs]
Option 2: Funnels with an Exclusion Step
If you specifically need to capture users who did not perform Event X between two funnel steps, you can use Exclusion Steps in a Funnels report:
Build a funnel with your two events as steps (e.g., Step 1 → Step 2).
In the Advanced menu, click "Exclude users who did…" and select Event X.
Set the exclusion to apply between the relevant steps.
Users who performed Event X between those steps will be excluded from converting. You can then click into the converted segment and save it as a cohort. [Exclusion Steps]
-------------------------
Which to use? If you want users who never did Event X at any point before Event B, the Cohort Builder approach is more straightforward. If you care specifically about Event X occurring between two defined steps, use the Funnels exclusion step approach. [Exclusion Steps]
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
