Query editor
with trade_data as(selectblock_date,project,taker,amount_usdfromdex.tradeswhere block_date >= cast('2023-01-01' as date)and blockchain = 'base')selectdate_trunc('week', block_date) as date,project,count(distinct(taker)) as user_count,sum(amount_usd) as volumefromtrade_datagroup by 1,2order by 1