• I need something similar, but I need the daily median of a data set, effectively doing a group by on the Date.

    Only way I've found to do this is with a cursor was wondering if any clever chaps out there have a better idea?