How can I use the xbar function to aggregate rows in a table in 10 microsecond bars. The table consists of the columns timestamp
and val
. For aggregating in millisecond bars instead I already know that I can simply use timestamp.datetime
in the xbar query.
A possible result table should look as follows:
timestamp | val
--------------------------| ---
2015.12.02D12:19:44.434430| 2
2015.12.02D12:19:44.434440| 8
2015.12.02D12:19:44.434450| 5
Any help is appreciated.