Query editor
1select 2 date_trunc('month',day) as day,3 count(user) as new_users,4 sum(count(user))over (order by date_trunc('month',day)) as cumulative5from (select 6 min(block_time) as day,7 taker as user8from dex.trades9group by 2)10group by 1
select
date_trunc('month',day) as day,
count(user) as new_users,
sum(count(user))over (order by date_trunc('month',day)) as cumulative
from (select
min(block_time) as day,
taker as user
from dex.trades
group by 2)
group by 1