String contains Filtering

Hey there, I am having a small problem with Filtering sub list with each other. if a sublist contains A and B but i am filtering the sublist with elements A B and C. it will Count all the list where A and B are correct as true; how can i make it so that it only take’s the sub list where all the elements are present within the list?

The problem:

How it should work:

This is what i have now:
image

It sounds like you’re looking for sublists that contain only A, B, and C exclusively. That’s really two conditions: 1) the sublist contains A, B, and C and 2) the sublist contains no other values.

You can combine your List.AllTrue value with the additional condition of the sublist having exactly 3 values.

If your sublist values are always going to be in the same order (or can be sorted), you could also just compare the sublist to [A, B, C] directly.

2 Likes

Hola amigo @SamBUHRK buenas, don’t break your head using booleans, work with index, I leave you a generic proces to filter and grouping items alternative!