I am trying to create a filter that compares two String list file-properties as such:
active file-property list: value1, value 2…
second file-property list: value x, value y…
i want the filter to show the second file if there are matches and partial matches. So if value 1 == value x OR value 1.contains(value x )
So basicly the dataview any(contains(list1,this.list2))
I tried .filter, two “OR” filters where i switch which value is compacted to a string. But i cant seem to figure it out.
index here is the index of the values in list1 so it compares each value in list1 to the items in list2 at the same index (not sure if that’s very clear )
One of those pairs should do it, unless I misunderstood.
I wrote them in both directions because I’m unsure from your description which way you’re going. Your Dataview example showed a direction that I interpreted as opposite from the description, because I would call this the “active file”, but your description seems to call the queried file the “active file”. Having both pairs hopefully keeps any misinterpretation I had from getting in the way.