DATE(2007, 2, 1) for 1st Feb 2007.ROWINDEXSUBSET(5) for the 5th record onlyROWINDEXSUBSET(CURRENTROW, "<=") for all records up to and including the current record. UNION and INTERSECTION as needed, before being supplied to one of the subset-accepting functions such as SUBSET_MEAN.It looks like you're new here. If you want to get involved, click one of these buttons!