Query editor
with t_trades as (select date_trunc('week', block_time) AS dt-- ,asset_id,unique_key,amountFROM polymarket_polygon.market_trades awhere block_month = TIMESTAMP '2026-07-01'), t_tags as (select question_id, custom_tag,unique_keyfrom polymarket_polygon.market_details ajoin query_8066366 b on a.tags = b.tagswhere from_iso8601_timestamp(market_start_time) >= TIMESTAMP '2026-06-01'-- CAST(market_start_time AS TIMESTAMP))selectdt,custom_tag as category,sum(amount) as volumeFROM t_trades ajoin t_tags b on a.unique_key = b.unique_keygroup by 1,2;