Query editor
WITH weekly AS (SELECT date_trunc('week', block_date) as time, sum(amount_usd) as volumeFROM dex.tradesWHERE project = 'uniswap'GROUP BY 1)SELECT time, sum(volume) OVER (ORDER BY time) as cumulativeFROM weekly
Query editor
1WITH weekly AS (2SELECT date_trunc('week', block_date) as time, sum(amount_usd) as volume3FROM dex.trades4WHERE project = 'uniswap'5GROUP BY 16)7SELECT time, sum(volume) OVER (ORDER BY time) as cumulative8FROM weekly