Query editor
with dates as (select datefrom unnest(sequence(date '2024-03-14', current_date)) as c(date)), balance_by_date as (selectd.date,t.wallet_address,sum(cast(t.amount_raw as decimal))/1e18 balancefrom transfers_base.erc20 tjoin dates d on d.date > t.evt_block_timewhere t.token_address = 0xEcE7B98bD817ee5B1F2f536dAf34D0B6af8Bb542-- exclude Uniswap LPand t.wallet_address <> 0x6d33206adB1462992C642BA5dD4F4e16bEb4D047group by d.date, t.wallet_addresshaving sum(cast(t.amount_raw as decimal))/1e18 > 1e-18)selectdate_trunc('week', date) "week",count(distinct wallet_address) holdersfrom balance_by_dategroup by 1order by 1