0

Probs with NP("Union")

Hi there!

I am just trying to consolidate to tables ("sales header" and "sales header archive") to one data source using NP("Union"). My goal is to generate a list of all debtors with whom we made sales contracts in a specified date range (and process several further calculations with this list). My formula looks like:

=NL("Zeilen"; NP("Union"; NL("Filter";"Verkaufskopfarchiv";"Verk. an Deb.-Nr."; "Buchungsdatum"; PeriodeFilter&"|"&VorpoeriodeFilter; "Verk. an Deb.-Nr.";DebitorFilter); NL("Filter";"Verkaufskopf";"Verk. an Deb.-Nr."; "Buchungsdatum"; PeriodeFilter&"|"&VorpoeriodeFilter; "Verk. an Deb.-Nr.";DebitorFilter)))
where PeriodeFilter and VorperiodeFilter specify a date range and DebitorFilter filters a Debtor (-range) or is equal to "*".

Unfortunately the formula returns an error message like "This formula is too long or too cascaded to work" (or similar).

Where is my fault?

Thanks a lot in advance!

Frank

2 comments

Please sign in to leave a comment.