List.SetIntersection and List.Contains logic

Hi,

I have two sets of elements which contain “overlapping” data. I am using List.SetIntersection to isolate the overlapping elements in a new list. I then use List.Contains (Lacing: Longest) as a mask to filter the initial two sets. However, one of the List.Contains does not return the values as expected. Just to double check, I used List.IndexOf on both and they work. Am I not seeing something?

Yes, you are using the right Lacing Settings with the wrong Levels and the wrong inputs. It is pure luck that the top one works.

By using Levels and switching the inputs, you will get to the desired result

2 Likes