Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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.