ts data working for sql group by queries.
Ok, all working for all metrics in people for group by items query.