Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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

1 Solution

Accepted Solutions
sunny_talwar

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

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.