Forum Discussion

lazzarjovvch74's avatar
7 years ago
Solved

Retrieve 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:

AddressCitySale DateSale Price
12 Union StNYC1/24/2017$1,800
616 President StLA2/2/2017$1,900
56 5th AveNYC2/8/2017$2,100
890 Bergen StMiami2/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 AveNYC2/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