Dear readers
I have a query get a weekaverage of a value.
SELECT Format([Testdate],"ww",2,2),2) AS wknum, Avg([testvalue]) AS AvgVar
FROM testtable
GROUP BY Format([Testdate],"ww",2,2),2)
ORDER BY Format([Testdate],"ww",2,2),2)
unfortunately, the 1-JAN-2017 is week 52.
How can I order this...