0

Count based on the comparison of fields in different tables

Hello Jet supporters,

I want to create a report that shows the delivery performance of some of our vendors. I use the Purchase receipt header table to get the posting date and I use the Purchase receipt line table to get the expected receipt date. For a given period and for certain vendors I want to count the number of posted goods receipt where posting date <= expected receipt date. I made a formula that obviously will not work but gives you an impression of the direction in which I was trying to find a solution.

=NL("Count";"Purch. Rcpt. Header";;"Buy-from Vendor No.";$E6;"Posting Date";<NL("Filter";"Purch. Rcpt. Line";"Expected Receipt Date";"Document No.";"IS THE SAME AS ON THE PURCHASE HEADER") :o

I know how to work around it by creating rows for every posted goods receipt an make the date comparison per line and combine the with an excel COUNTIF function etc. etc. but there must be an smarter way.

Can somebody help me out?

Best regards,

Arnoud

4 comments

Please sign in to leave a comment.