I have two data type variables.
One with the event and one with your guests.
I define the most recent event by the date comparison. The closest to today.
In element 0 I have an id. Where I specify this id for the data variable filter the guests.