ppr
(Peter Preuss)
4
As an alternate, we can do the following: HashSet LookUp Approach
Vars:

Flow:
myLookUpHashSet =
new HashSet(Of String) (dt2.AsEnumerable.Select(Function (x) x("Column1").toString.Trim))
dt2.AsEnumerable.Select(Function (x) x("Column1").toString.Trim).ToHashSet()
row(“isMatch”) =
If(myLookUpHashSet.Contains(row("Column1").toString.Trim), row("Column1"),"NA")
Traces:

After update:

We evolved from LKDictionary to HashSet as we avoided the unneeded values from the keyValuePairs
1 Like