How can i collect doubled numbers?


Hello,

I am able to unique them but not to list the doubled numbers. Mybe with an ID.
I try to do some QM workflows, to detect somer errors.

KR

Andreas

Not sure I understand the question, but I think that a List.GroupByKey node should do the trick.

f.e. i have a roombook with 1200 rooms. I want to be shure there is no roomnumber doubled.
1,2,2,3,4,5,5,6,6,7,8,9… I want to collect all duplicated numbers 2,2,5,5,6,6… so i can evaluate it room by room

A more direct hint:

List.GroupByKey
List.Count (lacing)
>
List.FilterByBoolMask (list levels)

collect_doubled_values.dyn (13.3 KB)
maybe i stuck in my mind :sweat_smile:

After the List.Count use a codeblock for

x > 1;

Then filter the GROUPS from as the list with the Boolean as the mask.

1 Like