I have a simple table of two columns: Week and Value (numeric, continuous).  Ultimately I want to plot the 99.8th percentile of the Value by Workweek.  Using the Query Builder on the table, I tried using PCTL function: (PCTL(99.8,Value).  However, it will not support grouping for this function in the interface.  I have also tried doing this manually:
PROC SQL;
   CREATE TABLE SASUSER.temp1 AS 
   SELECT t1.Week, 
            (PCTL(99.8,t1.'OQM-FT1 Hrs'n)) FORMAT=BEST7.2 AS '99.8th percentile'n
      FROM SASUSER.Table t1
      GROUP BY t1.Week;
QUIT;
I get the Warning in the log:
"WARNING: A GROUP BY clause has been transformed into an ORDER BY clause because neither the SELECT clause nor the optional HAVING clause of the associated table-expression referenced a summary function."
So this just returns the Value, instead of the 99.8th percentile of the Value by Week.
Any ideas??
Cheers!
Chadd