You can use the RANK (ANSI) function in conjunction with the GROUP BY TIME clause.
For more information about this function, see Teradata Vantageā¢ - SQL Functions, Expressions, and Predicates, B035-1145.
The following shows an example of how to rank time series aggregated data.