Query editor
select date_trunc('week', block_date) as date,project,sum(amount_usd) as amount_usdfrom dex.tradeswhere token_sold_symbol like '%DAI%'group by 1, 2 having sum(amount_usd) > 1e6order by 1 desc, 3 desc
Query editor
1select date_trunc('week', block_date) as date,2project,3sum(amount_usd) as amount_usd4from dex.trades5where token_sold_symbol like '%DAI%'6group by 1, 2 having sum(amount_usd) > 1e67order by 1 desc, 3 desc