I currently have a data set that looks something like this:
I want do compute a Date Diff for orders from the same account between orders 1 and 2.
So-- find accounts that have the same number in column A
Determine which two orders (rows) to pick, based on column B
Subtract the corresponding dates in column C
Example: Find Account A123-- subtract it's first order date from its second: 03/04/2021- 01/01/2021 and tell me how many days have passed.
How can I do this? Even better-- how can I do this in an ETL or BeastMode?
Thanks!