I’m new to UIpath and would like to know how I can achieve adding rows in an excel table with a lot of records in it.
I have a filtered dataTable I want to insert after the last record of the sheet, so I used the following approach and it worked quite fine:
One column of the sheet is a unique ID. Now I only want to add rows, which are not part of the existing records. It would be logical to me to just add another filter to my ExtractDataTableFiltered table, to check if the ID of the record is already found in the existing excel file. But how could I achieve that?
For now, I only have this filters applied on the Filter Data Table activity:
I know how to add the data from my dataTable in excel.
Im retrieving a table from the web and have it as dataTable in Uipath. In this table and in my excel sheet I have a column called ID. Then I only want to add the records in excel, which are not yet in my excel file. I would need to consider a condition, that I only add a record which ID is in my excel sheet yet.
What I missed mentioning is, that there are more columns in the real data. I would need the records of the original sheet not to be deleted because there are more columns in it.
When performing this activity, I guess the system would just take one duplicate and delete it, not matter in what table it was? Or would ist only delete records of the new table?
A join action seems like what I’m looking for. Since its gonna be a lot of records, it’s probably the most performant way to go as well.
But how would I perform the last step and why selecting blank ID? Every row has an ID but I only want to get the “new” IDs which are not part of the old excel records.
After you perform FULL JOIN, you will get data as shown below. Here there are blank cells in column ID as well you will get data which belongs in both the table,
the RED color data needs to be removed to get the expected outputs
To do this, You need to use “Filter datatable”