Query editor
with tmp as (selectdate_trunc('day', block_time) as dt,upper(project) as project,sum(amount_usd) as amount_usdfromdex.tradeswhereblockchain = 'arbitrum'and block_time >= now() - interval '30' daygroup by 1, 2)select*,sum(amount_usd) over(partition by project order by dt asc) as total_amount_usdfrom tmporder by total_amount_usd desc