0

OR condition in NL function

Hello,

my question may seem too basic, but I am not able to find a way to obtain the rows of a table based in an OR condition.
I'd like to obtain all the rows from a table that meet one (and only one) of these conditions:

1.- Date1 is in DateRange OR
2.- Date2 is in DateRange OR
3.- Date3 is in DateRange OR
4.- Status is OPEN

If I build this:
=NL("Rows";"Sales Header";;"Document Type";"Return Order";"Date1";DateRange)
=NL("Rows";"Sales Header";;"Document Type";"Return Order";"Date2";DateRange)
=NL("Rows";"Sales Header";;"Document Type";"Return Order";"Date3";DateRange)
=NL("Rows";"Sales Header";;"Document Type";"Return Order";"Status";'Open')

then I get a lot of repeated lines. How can I build a single NL function that takes the OR condition and does not bring the lines more than once?

Many thanks in advance,
Josetxo

2 comments

Please sign in to leave a comment.