Hi Everyone,
A quick question. How do you change the format of data in alteryx. For example my input is this:

I want each appointment and event attended (respectively) to count for "1" irrespective of the total. So even if a student has attended 5 events I want it to equate to "1" because we're interested understanding the number of students who attended an event/appointment - not how many they attended in total.
Therefore, I want my output to be this:

Please can you help? I think I have to use the formula tool.