I have dataset with Customer, date, revenue and the count of complaint raised.
i need to find out the correlation between revenue and the lag count of complaints but with -3 month of count of complaints(rev_inc_lag,).
the workflow uploaded has all the fields calculated, want to find correlation using pearson for each customer in a month