I am creating a report that updates an excel table to be emailed daily from data in a SQL table. The report needs to be able to determine which records were added after the previous report and only show those on the new report. That works well by just deleting the old records and adding the new ones. I have a separate table that could be used to hold the last record ID from the previuous report. With that I was hoping to pull only the record ID's greater than the previous day.
The problem is to get that ID number into a variable that I can use to filter data with.
The second part of the problem is to update the table with the "new" last record.
The other option I tried was to just filter by time, since the report will go out at the same but that doesn't appear to work in Flow.