Query editor
with x as (select user_address, sum(amount_usd) filter (where amount_usd > 0) as bridged_amount_usdfrom query_2501864where version = 'Era'group by user_address)select (case when bridged_amount_usd >= 25000 then '>=$25000'when bridged_amount_usd >= 10000 then '>=$10000'when bridged_amount_usd >= 5000 then '>=$5000'when bridged_amount_usd >= 1000 then '>=$1000'when bridged_amount_usd >= 500 then '>=$500'when bridged_amount_usd >= 400 then '>=$400'when bridged_amount_usd >= 300 then '>=$300'when bridged_amount_usd >= 200 then '>=$200'when bridged_amount_usd >= 100 then '>=$100'when bridged_amount_usd >= 50 then '>=$50'when bridged_amount_usd >= 10 then '>=$10'else '<$10'end) as segment_type,count(*) as users_countfrom xgroup by 1