Query editor
SELECTday,blockchain,pool,cumulative_amount0,cumulative_amount1,cumulative_amount0 / POWER(10, decimals0) AS nominal_cumulative_amount0,cumulative_amount1 / POWER(10, decimals1) AS nominal_cumulative_amount1FROM(SELECTday,blockchain,pool,SUM(amount0) OVER (PARTITION BYblockchain,poolORDER BYday ASC) as cumulative_amount0,SUM(amount1) OVER (PARTITION BYblockchain,poolORDER BYday ASC) as cumulative_amount1,decimals0,decimals1fromquery_3836726 tvl)