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:
- 1.
Go to the Users page and open the Cohort Builder.
- 2.
Add a condition for users who did the second event (Event B).
- 3.
Add another condition for users who did not do the first event (Event X).
- 4.
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:
- 1.
Build a funnel with your two events as steps (e.g., Step 1 → Step 2).
- 2.
In the Advanced menu, click "Exclude users who did…" and select Event X.
- 3.
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]