I have used Tableau Calculation to get the result. I have attached the 2018.3 version workbook for reference.
So you create lookup functions to see what is available in the next rows and compare them if they are in sequence as you want.
Note that initially you need to drag these 4 Stages into the row shelf as discrete and edit Table Calculation as shown below
Do the same for all the Stages so that we can fix how the table calculations work for these fields when used in any other calculated field.
Your final step will to check if they are in sequence
*If this helps, then please mark it Helpful and Correct to close this thread
Sequence.twbx 36.9 KB
Not sure how you define the sequence of event name
One of the possible solution is to use parameters to define the sequence as shown attached workbook.
Below is the result, and you can drag the calculation keep or not to filter and select True only.
Please let me know if any question.
Book1_v10.2.twbx 28.0 KB
I like both the approaches using Lookup or LOD to get to the results. Will work on it and ask more questions as my actual data is far more complicated.
Thank you Prasanna and Zhouyi