Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do I display the record with the minimum date

I know that this must involve the FirstSortedValue function and possibly the Aggr function as well...

First, I don't have control over the Load as this is QlikView Advanced Reporting in Quickbooks.. 

In a Straight Table, I'm trying to display only the record for each SO # that has the earliest Txn Date. For the Amount field, I have the Expression built this way:    sum({$<[Transactions.Txn Type]={'Invoice'}>} Transactions.Amount)

So for SO# 6922-1, I'd want to see only one record since the same date displays twice. For SO# 6922-2, I'd want to see one of the records that has the 3/23/2017 date.

Txn Type

Item TypePO #SO #Txn DateAmount
InvoiceServiceItem7FEB2017DJACOBSON6922-103/23/2017$926.40
InvoiceServiceItem7FEB2017DJACOBSON6922-103/23/2017$1,890.40
InvoiceServiceItem7FEB2017DJACOBSON6922-204/30/2017$360.52
InvoiceServiceItem7FEB2017DJACOBSON6922-203/23/2017$926.40
InvoiceServiceItem7FEB2017DJACOBSON6922-203/23/2017$1,890.40
InvoiceServiceItemP2546695304/21/2017$1,134.54
InvoiceServiceItemP2546695305/25/2017$1,134.54
InvoiceServiceItem2045184697204/19/2017$926.40
InvoiceServiceItem2045296697804/28/2017$926.40
InvoiceServiceItem2045296697804/26/2017$1,890.40
InvoiceServiceItem2045472698005/05/2017$1,890.40
InvoiceServiceItem2045610699105/18/2017$463.20
InvoiceServiceItem2045610699105/18/2017$945.20
InvoiceServiceItem2045755699505/24/2017$1,890.40
InvoiceServiceItem2045860700505/31/2017$463.20
InvoiceServiceItem2045860700505/31/2017$945.20
InvoiceServiceItem2045898701806/15/2017$926.40
InvoiceServiceItem2046419703707/06/2017$463.20
InvoiceServiceItem2046419703707/06/2017$945.20
InvoiceServiceItem2046573705207/19/2017$926.40
21 Replies
Not applicable
Author

try Changemenow1

vishsaggi
Champion III
Champion III

nope its not working. Whats the user id ?