Returning Highest Value Only
Posted: 21 Apr 2020, 09:43
Hi,
I'm an absolute novice on Sage Reporting so hopefully this is a simple question with an equally simple answer.
I have a report that lists the following INVOICE and INVOICE_ITEM* fields. It has a section break on INVOICE.ACCOUNT_REF.
Date Account_Ref Name Addr1 Addr2 Addr3 Addr4 Addr5 Stock Code* Description* Invoice No Quantity
How can I output just the most recent invoice for each Account_Ref (either by INVOICE_DATE or highest INVOICE_NUMBER)? Do I need a filter? If so how should this be formatted?
I'm an absolute novice on Sage Reporting so hopefully this is a simple question with an equally simple answer.
I have a report that lists the following INVOICE and INVOICE_ITEM* fields. It has a section break on INVOICE.ACCOUNT_REF.
Date Account_Ref Name Addr1 Addr2 Addr3 Addr4 Addr5 Stock Code* Description* Invoice No Quantity
How can I output just the most recent invoice for each Account_Ref (either by INVOICE_DATE or highest INVOICE_NUMBER)? Do I need a filter? If so how should this be formatted?