Query editor
select count(distinct (case when date >= current_date - interval '7' day then user else null end)) as active_users_last_7_days, count(distinct (case when date >= current_date - interval '30' day then user else null end)) as active_users_last_30_daysfrom query_6263416 -- intermediate resultswhere action != 'liquidate'