I am having a join issue.
1,054 records from Input A. Input A = 2021
3,222 inputs from Input B. Input B = 2018-2021.
Every record in A has a corresponding record in B. But, B has a few records missing from A.
I want to find the missing records in B and join them to A. To do this I have to ignore prior years.
Right now my join is outputting 1.7 million records.
I have attached a poor attempt to replicate my issue at a much smaller scale.
UPDATE/CLARIFICATION:
In current example, A only represents 1 year of data. In the real world, it could represent multiple years of data. In both cases I am trying to find the missing records in B and join them to A.
I am also trying to avoid manual filters. Ideally, I want A to filter B or align B based on year in A without human interaction.
Help. Thanks!