I’m trying to find a way to filter out rows, if any of a given selection of columns contains a specific value.
The Row Filter (Labs) node is very close, but i don’t see a way to programatically choose the columns to filter by. I thought about working with column expression, though I’m not sure whether i can drop rows that way and how to work with variable column names, if i were to use a loop as an expression. Alternatively I might loop over the rows and use a math expression, but again i fail to envision how to realize this for a collection of column names.
I’m certain this is a common problem and i just haven’t found the right node combination yet.
Hi @Ellison the Rule Based Row Filter is probably your best bet for this type of use case.
Edit: I’ve just re-read what you said… I may have misunderstood what you are asking. Do you mean that you actually have a dynamically created “collection” of column names and you want to somehow include them all in the filter, e.g in a String List ?