I had a ExtractDataTable. I want to compare each row data is it same or different

I had a ExtractDataTable. I want to compare each row data is it same or different. In case of different i want to copy the data and save the same in excel. how we can do this

Hello @Puneet_Singh1 ,

You can watch the below video to solve your issue. Else you can use the expression as below.

You can use a assign activity .

DT1.AsEnumerable.intersect(DT1.AsEnumerable,System.Data.DataRowComparer.Default).CopyToDataTable

DT1 is the datatable which you get after reading the excel.

The search box is your friend :slight_smile:

https://forum.uipath.com/search?q=compare%20datatables