Query editor
with arpu as (selectsum(fee_usd) as total_app_revenue, count(DISTINCT evt_tx_from) as users, count ( DISTINCT date_trunc('month' , evt_block_time) ) as months_since_launch, sum(fee_usd)/ count(DISTINCT evt_tx_from)/ count ( DISTINCT date_trunc('month' , evt_block_time) ) as arpu_dappfrom query_4676269), avg_user_lifespan as (select avg(months_active) as avg_user_lifespanfrom query_4676873)select total_app_revenue, users, months_since_launch, arpu_dapp, avg_user_lifespan, arpu_dapp * avg_user_lifespan AS ltv_dappfrom arpu , avg_user_lifespan