Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

First Sorted Value

Hello,

I am trying to determine whether or not a vendor is Import or Domestic using the following expression:

FIRSTSORTEDVALUE ([PO Imp Dom], – aggr(max([PO Entry Date], [Vendor # (PO)]))).

I want to know if it is import or domestic based on the date of the last PO from the vendor. However, this expression does not work for me.

max([PO Entry Date], [Vendor # (PO)])   - This expression gives me the correct date of the last PO.

Any help would be greatly appreciated!

Thanks!

Isabel

Labels (1)
1 Reply
swuehl
Champion III
Champion III

Both expressions don't seem correct to me. Could you check that there is no copy & paste issue here?

And if possible, please post a small sample app.