Forum Discussion
Complex Join
- 1 year ago
Hi Anonymous
I've mocked up your data and created 3 tables.
The first is filtered to this week and the other two are filtered to last week.
On the In last week I have used a merge to the original table on the customer ID and set it to inner join (only rows in both tables)
For the Not in last week do the same thing but change the join to Left Anti (Rows in this table NOT in the other table).
Hi Anonymous
I've mocked up your data and created 3 tables.
The first is filtered to this week and the other two are filtered to last week.
On the In last week I have used a merge to the original table on the customer ID and set it to inner join (only rows in both tables)
For the Not in last week do the same thing but change the join to Left Anti (Rows in this table NOT in the other table).