1. You need to load both tables into your datamodel. If you load tables in a row they will autoconcatenated (union);
2. Perform resident load from Result table and exclude unnecessary rows using where clause and peek() or previous() functions.
Hope this sheds lights to the solution.