I have two data sets that are based on the same underlying information but I unfortunately do not own them so cannot write a report to get all the elements I need in a single report. Data A shows transactional sales details which include a breakdown of sales and taxes. Data B shows transactional sales details by tender type. I need to be able to match transactions from data set A to data set B so I can ascribe the tender type to each transaction and the split between sales and sales tax. I am able to do this in most cases using a join function except when multiple tender types were utilized. For example someone paid for their order with both credit and cash. In those cases, Set A duplicates in the join so I end up with too many transactions that will require significant manipulation on the back end.
Sample data and the desired output are attached.