Query editor
WITH daily AS (SELECTblock_date,SUM(amount_usd) AS daily_volume_usdFROM dex_solana.tradesWHERE amount_usd IS NOT NULLGROUP BY 1)SELECTblock_date,daily_volume_usd,SUM(daily_volume_usd) OVER (ORDER BY block_dateROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS cumulative_volume_usdFROM dailyORDER BY block_date;