Query editor
select (case when amount_usd >= 100000 then '>=$100,000'when amount_usd >= 75000 then '>=$75,000'when amount_usd >= 50000 then '>=$50,000'when amount_usd >= 45000 then '>=$45,000'when amount_usd >= 40000 then '>=$40,000'when amount_usd >= 35000 then '>=$35,000'when amount_usd >= 30000 then '>=$30,000'when amount_usd >= 25000 then '>=$25,000'when amount_usd >= 20000 then '>=$20,000'when amount_usd >= 15000 then '>=$15,000'when amount_usd >= 10000 then '>=$10,000'when amount_usd >= 5000 then '>=$5,000'when amount_usd >= 1000 then '>=$1,000'when amount_usd >= 100 then '>=$100'when amount_usd >= 50 then '>=$50'when amount_usd > 0 then '<$100'else 'None'end) as segment_type,count(*) as user_countfrom query_2506535 -- query_2465489group by 1