Query editor
WITH latest AS (SELECT MAX(run_id) AS rid FROM dune.w3io.dealsync_deal_value)SELECTdate,deals_with_value,daily_value_usd,SUM(daily_value_usd) OVER (ORDER BY date) AS cumulative_value_usdFROM dune.w3io.dealsync_deal_value tJOIN latest l ON t.run_id = l.ridORDER BY date