Query editor
WITH yield_time AS (SELECTdate_trunc('day', block_timestamp) AS timestamp,TRY_CAST(REPLACE(attribute_value, '"', '') AS BIGINT) / 1e6 AS amtFROM noble.block_eventsWHERE event_type = 'noble.dollar.v1.IndexUpdated'AND attribute_key = 'yield_accrued')SELECTtimestamp,SUM(amt) AS yield_paid_daily,SUM(SUM(amt)) OVER (ORDER BY timestamp) AS yield_paid_cumulativeFROM yield_timeGROUP BY 1ORDER BY 1 DESC