I am working on a flow that will help import data into an azure sql database (access web app) from an excel sheet that will be regularly exported to a onedrive folder.
I was able to insert the rows from the excel table into the sql table. Now, I am hoping to add some sort of duplicate checker. Currently, I have the sql table set to have a required field "offeringID". I am trying to figure out how to have the flow lookup the row in the excel table to see if offering id already exists in the sql table. If it does not, then it should insert the row. If it does then it should "update" the row. I am struggling with how to get the data from the rows prior to the "for each" insert row step.
I see where you can filter data based upon values when getting a row but I must be doing the order incorrectly.
Any ideas of an approach to tackle this?