Skip to content
Prev 312690 / 398506 Next

simple subset question

The above is not an error message.  It says that there
are no rows satisfying your criteria.  Note that Total==max(Total)
returns a TRUE for each row in which the Total value
equals the maximum Total value over all the years in
the data.  Are you looking for the maximum value of Total
in each year?
IDWeek  Total    Fry  Smolt  FryEq Year YearlyMaxTotal
21     47 303259  34008 269248 491733 2012         303259
39     39 157260 156909    351 157506 2011         157260
IDWeek  Total   Fry  Smolt  FryEq Year YearlyMaxTotal
21     47 303259 34008 269248 491733 2012         303259

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com