0

Filtering based on the sum of a field in a different table

Hi there,

I'm trying to create a report that list all sales quotes that are above X value. The problem that I'm having is that the amount can only be seen in the sales line, while all the other Information that I need are in the sales header.

By reading through similar threads, I've put together this formula (I've also attached my file)

=NL("Rows","Sales Header",,"+No.",Options!$D$5,"Document Type",Options!$D$6,"order Date",Options!$D$7,"=NL(""sum"",""Sales line"",""Line Amount"",""Document No."",NF(,""No.""))",">40000")

But it still spits out quotes under the set value.
Can someone tell me what I'm doing wrong? Thanks in advance!!

1 comment

Please sign in to leave a comment.