Query editor
WITHdhedge_v2_pools AS (SELECTfundAddress AS fund_address,fundName AS fund_nameFROM dhedge_v2_ethereum.poolfactory_evt_fundcreated),investors AS (-- get unique investorsSELECTDISTINCT "from" AS account,date_trunc('day', block_time) AS dayFROMethereum."transactions",dhedge_v2_poolsWHEREsuccess = trueAND "to" IN (dhedge_v2_pools.fund_address))select count(distinct account) from investors