Query editor
Withdata as (selectdate_trunc('{{timeframe}}', block_time) AS time,cast(count(*) as double) as new_txnfromlinea.transactionsgroup by1)selecttime,new_txn,sum(new_txn) over (order bytime range unbounded preceding) as cumulative_txn,avg(new_txn) over (order bytime rows between 2 precedingand current row) as txn_MAfromdataorder by1 desc;