Query editor
SELECTDATE_TRUNC('month', block_date) AS period, -- truncate the date to aggregate on monthly levelSUM(tx_fee_usd) AS monthly_gas_spent, -- sum up the monthly gas spentSUM(SUM(tx_fee_usd)) OVER (ORDER BY DATE_TRUNC('month', block_date)) AS cumulative_gas_spent -- sum of sum to get cumulative gas spentFROM gas.feesWHEREtx_from = {{Your Wallet Address}} -- default is vitalik.ethand block_date > now() - interval '365' dayGROUP BY1ORDER BY1