Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Opposite of FirstSortedValue

Hi,

What is the exact opposite of FirstSotedValue i.e some thing like LASTSortedValue?

Thx

C

1 Solution

Accepted Solutions
Gysbert_Wassenaar

The opposite is the firstsortedvalue too, only you put a - in front of the field/expression you want to sort on.

firstsortedvalue(Customer, Orderdate) gets the customer with the minumum orderdate

firstsortedvalue(Customer, -Orderdate) gets the customer with the maximum orderdate


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

The opposite is the firstsortedvalue too, only you put a - in front of the field/expression you want to sort on.

firstsortedvalue(Customer, Orderdate) gets the customer with the minumum orderdate

firstsortedvalue(Customer, -Orderdate) gets the customer with the maximum orderdate


talk is cheap, supply exceeds demand
er_mohit
Master II
Master II

use vlastsortedvalue