Query editor
WITH stars_arena_wallets AS (SELECTdate_trunc('day', block_time) AS day,COUNT(DISTINCT "from") AS unique_usersFROMavalanche_c.transactionsWHEREdate_trunc('day', block_time) >= date_trunc('week', CURRENT_DATE) -- Truncate to the start of the weekAND "to" = 0x563395a2a04a7ae0421d34d62ae67623caf67d03 -- Enclose the address in single quotesGROUP BYdate_trunc('day', block_time))SELECTday,SUM(unique_users) AS "New users today",SUM(CASE WHEN day >= date_trunc('week', CURRENT_DATE) THEN unique_users ELSE 0 END) AS "New users this week"FROM stars_arena_walletsWHERE day >= date_trunc('week', CURRENT_DATE)GROUP BY day;