Du kan prøve at have din sum og date_trunc i underforespørgsel, noget som nedenfor:
SELECT colA, SUM(colB) FROM (SELECT date_trunc('month',UA.activity_date) colA,SUM(UA.points) colB FROM user_activity UA
WHERE UA.activity_date > '01/01/2014' AND UA.activity_date < '12/31/2014'
GROUP BY UA.activity_date
ORDER BY date_trunc('month',UA.activity_date))sub GROUP BY colA
Bare tag gruppe forbi i outerquery igen. Se om det hjælper.