0

Return First Value only

Hi all,

I'm trying to return only the first posting date in the Cust. Ledger Entry table for each Customer. So for example, if Customer A has entries on 01/01/14 and 02/01/14, I only want to see the 01/01/14.

I am using this to pull the entries down and set the posting date range:

=NL("Rows","Cust. Ledger Entry",,"Posting Date",$E$3,"Limit=",$E$4,"Document Type","Invoice")
Then I am using this to try to get the first posting date entry:

=NL("First","Cust. Ledger Entry","Posting Date","Sell-to Customer No.",$D7,"Posting Date",$E$3)
However for a reason I can't work out, I just get the same Customers appearing again and again, where their Cust. Ledger Entries go across multiple days, or they had multiple entries on the same day:



Is there a way I can only show the first time the Customer had an entry into the Cust. Ledger Entry table and ignore the rest?

I've also attached the report in Design mode if it helps!

Many thanks

Steve

4 comments

Please sign in to leave a comment.