Query editor
with users as(select date_trunc('day', block_time) as time_,count(distinct "from") as usersfrom base.transactionsgroup by 1order by 1 desclimit 365)select time_, users as "active addresses",round(avg(users) over(order by time_ rows between 6 preceding and current row)) as "7d avg"from userswhere time_ between current_date - interval '365' day and current_date - interval '1' day