I'm trying to find percent rank of duration (dur) per person (firstofactor) per category (worktype). I'm trying:
SELECT DUR, FIRSTOFACTOR, WORKTYPE, FIRSTOFNAME,PERCENT_RANK() OVER (PARTITION BY FIRSTOFACTOR, WORKTYPE ORDER BY DUR) AS PCTRANK
FROM [4 - EXPORT TO EXCEL];
But it says "Syntax error (missing operator) in query expression 'PERCENT_RANK() OVER (PARTITION BY FIRSTOFACTOR, WORKTYPE ORDER BY DUR)'."
Am I just missing something simple or can this not be done in SQL in Access? Thanks!
SELECT DUR, FIRSTOFACTOR, WORKTYPE, FIRSTOFNAME,PERCENT_RANK() OVER (PARTITION BY FIRSTOFACTOR, WORKTYPE ORDER BY DUR) AS PCTRANK
FROM [4 - EXPORT TO EXCEL];
But it says "Syntax error (missing operator) in query expression 'PERCENT_RANK() OVER (PARTITION BY FIRSTOFACTOR, WORKTYPE ORDER BY DUR)'."
Am I just missing something simple or can this not be done in SQL in Access? Thanks!