Hey guys, could you help me?
I can’t wrap my head around this one.
I have a list:
{{“A”,3},{“B”,3},{“C”,2},{“A”,1} };
Every letter has a paired numeric value (e.g. B =3 etc.)
I need to do the following:
find if there are different values for the same letter in the list (e.g. A=1 and also A=3)
compare the values and return mnimum value for that letter (e.g. A=1)
create a new list without duplicates with all letters assigned to minimum values.
{{“A”,1},{“B”,3},{“C”,2}};
Thank You @Kulkul,
I don’t understand the Option 2. In particular the step with “List.FilterByBoolMask”.
The input is a list that contains 2 lists, the mask is a boolean list that contains 6 items, where the first item is true. So basically you just take all the items of the first sublist.