Map duplicates and create list with elements

Hello, everyone!

Would anyone know which node or a way to check the pairs in a list that have equal elements and create a list with these elements?

Example:
pairs: (A,B) / (B,C) / (D,E) / (E,F);
Repeating elements: B and E;
New list: (A,B,C) / (D,E,F).

In other words, recognize repeated elements and group them into a new list.

From what you are showing it seems that List.UniqueItems would return the “New list”

See if this helps


unique.dyn (15.7 KB)

2 Likes

it worked perfectly!

Thank you very much!

1 Like