Grouping data

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I am trying to group data for a specific event and have not been successful,
so I am hoping someone can help.

ID Date Value
174 12/3/2007 102
174 12/3/2007 909
174 12/11/2007 405
174 12/11/2007 701
206 12/6/2007 1001
173 12/3/2007 500

I want to group by ID, the MAX Date for that ID and the Max Value for the ID
& Max Date

The desired result would be:

ID Date Value
174 12/11/2007 701
206 12/6/2007 1001
173 12/3/2007 500

When I use GROUP and MAX the Value does not stay specific to an ID, I get
the MAX Value for ID, but not the Date and ID.

Not this

ID Date Value
174 12/11/2007 909
206 12/6/2007 1001
173 12/3/2007 500

I would appreciate any help.

Thanks
 
Back
Top