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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Group by max date in straight table

Hi Guys

I have below table and I only want to get one row per document Id with the last download date and downloaded by.

MaxDate.PNG

Sample QVW attached.

1 Solution

Accepted Solutions
Not applicable
Author

6 Replies
Not applicable
Author

How about this?

Digvijay_Singh

Use Firstsortedvalue smthg like -

Dimension - DocumentId

Exp1 - firstsortedvalue(DownloadedBy,-Download Date])

Exp2 - firstsortedvalue(UploadDate,-Download Date])

Exp3- firstsortedvalue([Download Date],-Download Date])

Not applicable
Author

Try this.

sunny_talwar

Are you looking to get this done in the script or front end?

Not applicable
Author

front end

Not applicable
Author

Just one more question related to this example...

How to get all the document Ids (even if there is no download date for that document?)

if the document has download date then it should show last download date.. else null