I have a data set that contains multiple records for customers; however I only need to do keep the most current to properly count. Below is an example:
customer id log id action date
1234 123 n 1/1/2005
1234 345 n 1/2/2005
1234 456 y 1/3/2005
I would only want to keep the record on 1/3/2004 so when I do counts on actions I will only get 1 'y' and NOT 1'y' and 2 'n'. Does this make sense?
customer id log id action date
1234 123 n 1/1/2005
1234 345 n 1/2/2005
1234 456 y 1/3/2005
I would only want to keep the record on 1/3/2004 so when I do counts on actions I will only get 1 'y' and NOT 1'y' and 2 'n'. Does this make sense?