Query editor
SELECTcast(time as date) as date,txn_type,count(1) AS txn_count,sum(count(1)) over (partition by txn_typeorder by cast(time as date)) as cumulative_txn_count,sum(volume) as volume,sum(sum(volume)) over (partition by txn_typeorder by cast(time as date)) as cumulative_volumeFROM "query_4305762"WHERE time < current_dateGROUP BYtxn_type,cast(time as date);