I have 2 datasets :-
Dataset 1: Is survey data with survey_date
Dataset 2: Is call center data with call logs and it's date (call_date).
While merging 2 datasets based on user_id I want to filter call logs only prior to survey_date i.e join and filter call log data of last 12 months where call_date <= survey_date.
Any pointers will be highly appreciated.
Best
Pooja