I built this sequence to remove rows where “Red” is in [Q1] or the 0 (first) column. But it seems to totally ignore the filter.
The flow below is:
–I get files from directory, multiple excel files
–for the rowfiles I do a for each
–a read the spreadsheet tab into variable “dt_extras”
–I filter dt_extras into dtresult
–i then write back dtresults to the workbook
Could you please try to have individual Filter Data Table activity for each of the conditions , i mean 1 filter data table for 0 =“Red” , next filter data table for 0=“1” like that .
You don’t need that rowfiles variable. You can put the Directory.GetFiles expression directly into the “In” on the For Each. But you don’t need that either, just use the For Each File in Folder activity.
Do you have extra spaces in the value ie "Red " instead of “Red”?
For that Read Range (the green one) you have to use the Excel Scope. You can’t just use that Read Range by itself. Go back to the Read Range Workbook you had originally, inside the For Each File in Folder.
I put Read Range there in the Excel Process Scope and error returned that activity can only be used with Use Excel File. I went down that path and I have to pick a specific file.