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

firstsortedvalue return nothing

Capture.JPG

Good afternoon guys, are there something wrong with my syntax? Thanks!

1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

try below

=FirstSortedValue(Key,-[FoB Price],1)

View solution in original post

4 Replies
Chanty4u
MVP
MVP

try below

=FirstSortedValue(Key,-[FoB Price],1)

MK_QSL
MVP
MVP

Try

=FirstSortedValue(Distinct Key,-[FoB Price],1)

or

=FirstSortedValue(Distinct Key,[FoB Price])

MK_QSL
MVP
MVP

Or

Concat(Distinct If([FoB Price] = Min(Total [FoB Price]), Key),', ')

or

Concat(Distinct If([FoB Price] = Max(Total [FoB Price]), Key),', ')

MK_QSL
MVP
MVP

If you have two highest [FoB Price] value, the below expression will return null

=FirstSortedValue(Key,-[FoB Price],1)