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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Is there a LastValueSorted

Hi Guys,

Like FirstSortedValue, is there a LastValueSorted as I need the lowest value rather than the first, or is there another way?

Thanks

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

You can change the sort order

FirstSortedValue(Dim, -Date) -> 1st from the top

FirstSortedValue(Dim, Date) -> 1st from the bottom

View solution in original post

4 Replies
sunny_talwar
MVP
MVP

You can change the sort order

FirstSortedValue(Dim, -Date) -> 1st from the top

FirstSortedValue(Dim, Date) -> 1st from the bottom

sushil353
Master II
Master II

hi,

You can use + or - sign to reverse the sorting order like:

firstsortedvalue(Customer,-orderDate)


HTH

shraddha_g
Partner - Master III
Partner - Master III

firstsortedvalue(Dimension, -Measure)

It will give you last value

Anonymous
Not applicable
Author

Thanks guys, I've got the answer now lol.