Forum Discussion
lazzarjovvch74
Helper I
7 years agoRetrieve a single row from a table based on Max value in a column
Hi,
I am trying to retrieve a single row from a table that contains the highest value in the "Sale Price" column. This is an example:
| Address | City | Sale Date | Sale Price |
| 12 Union St | NYC | 1/24/2017 | $1,800 |
| 616 President St | LA | 2/2/2017 | $1,900 |
| 56 5th Ave | NYC | 2/8/2017 | $2,100 |
| 890 Bergen St | Miami | 2/21/2017 | $1,250 |
I want to get this as a result (this is the row with the highest value in the Sale Price column):
| 56 5th Ave | NYC | 2/8/2017 | $2,100 |
How could I achieve this?
Many thanks!
Add all the fields to your matrix then apply a Top N filter to the address based on Sales Price.
2 Replies
- jdbuchanan71
Super User
Add all the fields to your matrix then apply a Top N filter to the address based on Sales Price.
- lazzarjovvch74
Helper I
Thank you.