Query editor
-- Modest Collector Activity Status Breakdown (Production)-- Reads directly from production leaderboard query_9211993.with totals as (select cast(count(*) as double) as total_collectorsfrom query_9211993)selectl.activity_status,count(*) as collector_count,round(100.0 * count(*) / max(t.total_collectors), 1) as pct_of_collectors,sum(l.total_pieces) as total_pieces_held,sum(l.count_1of1s) as total_1of1s_held,round(avg(l.og_score), 0) as avg_og_score,round(avg(l.lifetime_tdh), 0) as avg_lifetime_tdhfrom query_9211993 lcross join totals tgroup by l.activity_statusorder bycase l.activity_statuswhen '🟢 Active' then 1when '🟡 Cooling' then 2when '🟠Stale' then 3else 4end asc