Query editor
WITH weekly_stats AS (SELECTDATE_TRUNC('week', block_time) AS week,COUNT(DISTINCT hash) AS distinct_tx_count,COUNT(DISTINCT _tokenId) AS distinct_token_count,COUNT(DISTINCT "from") AS distinct_user_countFROM query_4806991GROUP BY DATE_TRUNC('week', block_time))SELECTweek,distinct_tx_count,distinct_token_count,distinct_user_count,SUM(distinct_tx_count) OVER (ORDER BY week ASC) AS cumulative_tx_count,SUM(distinct_token_count) OVER (ORDER BY week ASC) AS cumulative_token_count,SUM(distinct_user_count) OVER (ORDER BY week ASC) AS cumulative_user_countFROM weekly_statsORDER BY week ASC;