0

Table Design. Combine Multiple Source tables

Hi,

I have an issue, which I have been working on for a while.

I need in many cases to combine Sales Invoice Line and Sales Cr.memo Line into one table, because I need information from the lines of both tables. I know that with a NL("Rows";…..) function and a NP("Union"…) I can get the result, but as the 2 source tables give me several thousand lines, the report will be extremely slow.

That's why I need to either combine the 2 tables or get a workaround in Pivot to combine the 2 tables. I have tried Excels Pivottables and Pivotdiagram wizard, but without any luck.

Therefore, does anyone have any experience in combining these two tables in a Table Query or have any luck combining them in a pivot (without the Headers from the last table and with dates that Work) ?

I attach a simplicity report of the two tables, very very simple report with only Posting date, Document no. and Amount from each table, but I cannot get the result combined.

Any suggestions are highly appreciated :)

Thanks.

Allan

6 comments

Please sign in to leave a comment.