I’ll get two data tables and in each datatable, there will be a column with the same name called ‘Tickets’ in each table. It’s really important that both those columns contain the same data - same values/number of populated rows - everything the same.
If any of the data is different I don’t need to point out which data is different or anything like that - I will just throw a BE in the process for the customer to review the datasource - two tabs on an excel sheet
@Palaniyappan I hope you don’t mind me tagging you in - you’ve very kindly answered plenty of my questions in the past, so seeing if you can (please) help?
Hope the below expression would help you resolve this
Use a If activity like this
(From DT1 In dt1.AsEnumerable() Join DT2 In dt2.AsEnumerable() On DT1(“Tickets”).ToString() Equals DT2(“Tickets”).ToString() Select DT2).ToArray().Count < Dt2.Rows.Count
Here we are trying to join two datatable and get the matched values of that Ticket column and see whether the count is equal to actual row count or not
If it’s same then all values of that column matches between two datatable
If not there is a difference between them