Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

filter to show last date shipped

I am trying to figure out an expression to show the last shipping date for each individual part in our inventory where shipdate and part# are the data fields.

1 Solution

Accepted Solutions
MarcoWedel

chart with dimension

part#

and expression

Date(Max(shipdate))

or to just get a listbox of last shipdates:

Aggr(Date(Max(shipdate)),part#)

hope this helps

regards

Marco

View solution in original post

5 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

as i see it you do it in two functions

the easiest way

create a table with #part as dimension and max(shipdate) as expression

alternatively you can use firstsortedvalue function

it should look firstsortedvalue(shipdate,-shipdate)

MarcoWedel

chart with dimension

part#

and expression

Date(Max(shipdate))

or to just get a listbox of last shipdates:

Aggr(Date(Max(shipdate)),part#)

hope this helps

regards

Marco

krishna_2644
Specialist III
Specialist III

Send some sample data.

Anil_Babu_Samineni

It might works

Firstsortedvalue(shipdate, -part#)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

This is exactly what I am looking for thank you very much.