Query editor
with new_users as(SELECTDATE_TRUNC('day', first_txns) AS time_,COUNT(*) AS new_usersFROM(SELECT DISTINCT"from",MIN(block_time) AS first_txnsFROMbase.transactions AS aGROUP BY1) AS first_txnsGROUP BY1)select time_, new_users as "new users",round(avg(new_users) over(order by time_ rows between 6 preceding and current row)) as "7d avg",sum(new_users) over(order by time_) as "total users"from new_userswhere time_ > date '2023-07-12'