The following should work:
d:([]t:asc .z.P+100*10?100;v:10?10)
select avg v by (10*1000) xbar t from d
Note that the output time column is still of type "timestamp" ("p"), however values are not allowed in microseconds.
xbar (10 * 1000) . 5 , (5 * 1000) ..