Hi Vlad- Julianne from Mixpanel Support here!
I'd recommend adding a criteria to the custom property that specifies ["Event 1", "Event 2"] in Event Name. Note, the name needs to match the specific event name being sent, not the display name. You can use the criteria to only return a value if the event is a match to the one you are interested in.
Would that work for your use case?
The result would depend on how the custom event property is structured. For example, if you had a property that was IFS(Event Name = "Event 1", "event name match"), then any event that isn't "Event 1" would return 'not set' when the custom property is applied.
Can you share more on the specific property/ behavior you're looking for?
ok I didn't realize it works like that, so I can just do IFS(Event Name IN [list of event names], Custom Property Definition) and it will only show on the events I care about, yeah?
Correct! The custom property definition would only be evaluated on the events that meet the event name criteria. Other events would have a value of 'not set'.Â