I have two tables in Dataverse. One is populated from a legacy ERP system, another is populated from a spreadsheet compiled from multiple vendor inputs. I need to compare the two tables to find rows where, for example, Table1.Field1 matches Table2.Field2.
The method I have been using to do this is to:
List Rows for Table1
Apply to each row in Table1
List rows for Table2
Apply to each row in Table2
Condition
While this works well with limited amounts of data in testing, our real world tables can have thousands of rows. I would like a way for the comparison to stop if a match is found.
I thought I could use a Do Until but I have not found a configuration stops the loop when a match is found. If Do Until is not the right action to use, can anyone tell me how to break out of the second Apply to Each when the match is found?

Report
All responses (
Answers (