You may want to wrap the [msTimeDiff] Table Calculation
with another (Table Calc) one and put the filtering logic
inside the (Nested) Table Calculation.
The final (desired) view could be built from the workout one
by rearranging the Pills and / or hiding some Marks.
Please find the attached with the simple workout view (Sheet 7).
The calculations use the WINDOW_MAX() function for the Max values.
Hope it could help.
Max_msTimeDiff_v10.2_YF.twbx 107.7 KB