Query editor
selectsum(case when description = 'SOL Withdrawn from Program' then token_amount end) as "Total SOL Withdrawn (Pre-Fees)", sum(case when description in ('SOL Received by Fee Vault','SOL Received by Distributor Vault') then token_amount end) as "Total SOL Fees Received", sum(case when description = 'SOL Withdrawn from Program' then token_amount end) - sum(case when description in ('SOL Received by Fee Vault','SOL Received by Distributor Vault') then token_amount end) as "Total SOL Received by User (Post-Fees)", sum(case when description in ('SOL Received by Fee Vault','SOL Received by Distributor Vault') then token_amount end)/sum(case when description = 'SOL Withdrawn from Program' then token_amount end) as "Fees % SOL Closing Position"from query_4239388