Query editor
WITH filtered_transactions_group AS (-- NOTE: This can be any filtered_transactions_group-- https://dune.com/queries/2660040SELECT day, category, account_active, account_interaction_count FROM query_2660040), count_unique_account_by_category AS (SELECTday,category,COUNT(*) AS dauFROM filtered_transactions_group GROUP BY day, category, account_active)SELECT * FROM count_unique_account_by_category