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

None

None

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use firstsortedvalue(b,-a) to get the value of b for the maximum value of a


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Nicole-Smith

In the script, you can do:

INNER JOIN (YourTable)

LOAD Name,

max(B) as B

RESIDENT YourTable

GROUP BY Name;

israrkhan
Specialist II
Specialist II

fins the attached...

Not applicable
Author

Is it possible to do for third column instead of max(date(B))

I want to show corresponding Date according to the maximum of Date (A) so for example

id, a , b

a, 1/1/2012, 2/1/2013

a, 5/1/2012, 1/1/2010

then a should be

a, 5/1/2012, 1/1/2010

Currently it's just maximum ?

Thanks btw

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use firstsortedvalue(b,-a) to get the value of b for the maximum value of a


talk is cheap, supply exceeds demand
Not applicable
Author

It doesn't work !

If I don't select particular name, it gives me the correct A value out of all name, but when I do select a name, it fails !