Query editor
with res as (selectchain, evt_block_date, CAST((time_reward + deviation_reward) as DOUBLE precision) / 1000000000000000000 as total_rewardfrom gasnetwork_multichain.rewardproxy_evt_oracleupdated),daily_totals as (selectchain, evt_block_date, SUM(total_reward) as daily_total_rewardfrom resgroup by chain, evt_block_date)selectchain, evt_block_date, daily_total_reward, SUM(daily_total_reward) over (partition by chainorder by evt_block_dateROWS UNBOUNDED PRECEDING) as cumulative_rewardfrom daily_totalsorder by chain, evt_block_date