Need a flow to automate weekly Excel file cleansing. The files have Tables with temporary data that is replaced each week with new data. The tables feed charts and pivots on other sheets. On Friday the tables are cleaned and on Monday new data is inserted.
This flow is to perform the Friday cleaning, which includes a cell update and deleting table rows. On some Data Tables all rows must be deleted, while also keeping the headers and table structure. Other Tables only require some rows be deleted, based upon a date in one of the columns.
Because the tables were not created within the flow, I don’t have an output variable to reference which table to delete rows on.
The cell update in flow lines 1-7 work perfectl. I cannot figure out how to delete table rows. The actions attempting to get a Data Table aren’t picking up the correct variable. I tried using the Table Name from my Excel file, but none of the delete actions recognize it.
The attached flow shows all the actions I tried. How do I set a pre-existing table as a variable to be used in next steps? Which actions are best used in Desktop for getting the variable and deleting table rows? Is it best done in a cloud flow?
Any help is appreciated.