If you do an individual search for each treatment group and eventtype, i.e:
sourcetype=eventtracking eventype=search treatment=treatment1
then you could just do an eval on the two results:
sourcetype=eventtracking eventype=search treatment=treatment1 | stats distinct_count(user_guid) as Users | eval percentage=(Users/count)*100
... View more