Query editor
WITH base AS (SELECTDATE_TRUNC('Day', block_date) AS month_truncated,SUM(amount_usd) as volume_mln_usdFROM dex.tradesWHEREproject = 'uniswap'GROUP BY1ORDER BYmonth_truncated DESC)SELECT*,(sum(volume_mln_usd) over(order by month_truncated))/1000000000 as cumm_volumeFROM baseORDER BY 3 DESC