Query editor
with distinct_txs as(selectdistinct(a.tx_hash), a.amount_usd, a.number_of_itemsfrom nft.events aleft join nft_ethereum.wash_trades bon a.tx_hash = b.tx_hashwhere evt_type in ('Trade', 'Mint')and date_trunc('day', a.block_time) >= NOW() - interval '30' dayand a.blockchain = 'ethereum'and b.is_wash_trade != true)selectdate_trunc('week', c.block_time) as week, c.project as platform, sum(f.number_of_items) as total_nfts, round(sum(f.amount_usd), 2) as total_sales_usdfrom distinct_txs fjoin nft.events con f.tx_hash = c.tx_hashgroup by 1, 2order by 1 desc