Query editor
WITH upshift_deposits AS (SELECTdate,'Deposit' AS event,total_deposit_transactions AS transactions,historical_ausd_deposit AS quantity,historical_amount_deposited_usd AS quantity_usdFROM query_6315357),upshift_withdrawal AS (SELECTdate,'Withdrawal' AS event,withdrawal_transactions AS transactions,-historical_shares_withdrawn AS quantity,-historical_shares_withdrawn_usd AS quantity_usdFROM query_6315375)SELECTdate,event,transactions,quantity,quantity_usdFROM upshift_depositsUNION ALLSELECTdate,event,transactions,quantity,quantity_usdFROM upshift_withdrawalORDER BY date