MarketplaceListingsSnippetSopra Steria - Find Duplicates in Datatable

Sopra Steria - Find Duplicates in Datatable

Bronze Certified

Snippet

0 reviews

30

Sopra Steria - Find Duplicates in Datatable

Bronze Certified

Snippet

0 reviews

30


Summary

Easily find duplicates in a Datatable based on a similar value of one or more columns

carouselImage0

Overview


Functionality:

The sequence iterates through every row of the Datatable and checks if the value of the specified column has been repeated.

A column "Duplicate Status" is added in the Datatable in which the status "Duplicate" is updated for the rows having repeated value. No status is updated for the first row as it would be the original (unique) row.

For example:

Order No. Supplier Quantity
123A X Corp 10
456B Y Corp 20
789C Z Corp 30
456B W Corp 25

If the above Datatable is passed in the snippet and column name is updated as "Order No.". then, the below Datatable will be the output:

Order No. Supplier Quantity Duplicate Status
123A X Corp 10
456B Y Corp 20
789C Z Corp 30
456B W Corp 25 Duplicate


Input:

1. Datatable in which duplicates are to categorized (in_Datatable)
2. Column name which has to be validated (in_MatchColumnName)

Output:

Datatable with additional column "Duplicate Status" (out_Datatable)

Benefits


Published: 2020-06-12T13:28:11+00:00 | Updated: 2020-10-21T22:11:45+00:00

Trusted Source


License

Apache 2.0


Code Language

Visual Basic


Tags

datatable
duplicates in datatable
Find duplicates
find duplicates in datatable

Compatibility

UiPath 2020.4 +


Dependencies

UiPath.System.Activities : 20.4.0 UiPath.UIAutomation.Activities : 20.4.1


Similar Listings