Query editor
Withdata as (selectdate_trunc('{{timeframe}}', block_time) AS time,cast(count(distinct "from") as double) as new_walletfromlinea.transactionsgroup by1)selecttime,new_wallet,avg(new_wallet) over (order bytime rows between 4 precedingand current row) as wallet_MAfromdataorder by1 desc;