Hi
I thought that this would be easy, but maybe I'm missing something.
I've got a simple table, and I want to return (transform, filter,..?) only the latest/last row for each customer with the results displayed in a filtered table (or new, if needs be)
From what I've found, I'm guessing that this might involve a few steps (e.g. x-join, etc..), but I wanted to check if there was an in-built method.
Thanks.
DATA:
TransID CustID Data1 Data2 Data3 Data4 Data5 Date
1 1 D3 B3 C3 T1 30/08/2016 09:13:30
2 1 B6 T1 A1 30/08/2016 10:33:40
3 1 D3 C5 T2 A1 01/09/2016 19:53:30
4 2 D1 30/08/2016 09:23:30
5 2 D4 B1 C2 T3 A3 08/09/2016 14:53:30
6 3 D5 A2 25/07/2016 10:15:10
7 4 B2 T2 02/09/2016 20:04:11
8 4 T7 02/09/2016 20:04:30
RESULTS:
TransID CustID Data1 Data2 Data3 Data4 Data5 Date
3 1 D3 C5 T2 A1 01/09/2016 19:53:30
5 2 D4 B1 C2 T3 A3 08/09/2016 14:53:30
6 3 D5 A2 25/07/2016 10:15:10
8 4 T7 02/09/2016 20:04:30
I thought that this would be easy, but maybe I'm missing something.
I've got a simple table, and I want to return (transform, filter,..?) only the latest/last row for each customer with the results displayed in a filtered table (or new, if needs be)
From what I've found, I'm guessing that this might involve a few steps (e.g. x-join, etc..), but I wanted to check if there was an in-built method.
Thanks.
DATA:
TransID CustID Data1 Data2 Data3 Data4 Data5 Date
1 1 D3 B3 C3 T1 30/08/2016 09:13:30
2 1 B6 T1 A1 30/08/2016 10:33:40
3 1 D3 C5 T2 A1 01/09/2016 19:53:30
4 2 D1 30/08/2016 09:23:30
5 2 D4 B1 C2 T3 A3 08/09/2016 14:53:30
6 3 D5 A2 25/07/2016 10:15:10
7 4 B2 T2 02/09/2016 20:04:11
8 4 T7 02/09/2016 20:04:30
RESULTS:
TransID CustID Data1 Data2 Data3 Data4 Data5 Date
3 1 D3 C5 T2 A1 01/09/2016 19:53:30
5 2 D4 B1 C2 T3 A3 08/09/2016 14:53:30
6 3 D5 A2 25/07/2016 10:15:10
8 4 T7 02/09/2016 20:04:30