No, there are no bugs in this platform ;-)
from CM.ReportForOQL r group by r.Category select r.Category, SUM(r.Extension) order by r.Category
copied as given it chokes on the order by (...expecting SELECT)
If I remove the order by line then the error is Cannot resolve the path part ‘cm’.
duh, cm should be CM. It still chokes on the order by but when I remove it and use CM I still have the original issue:
Double DUH… keyword alias:
SELECT r.Category as Category, SUM(r.Extension) as Extension