Query editor
-- Get most recent liq from overall tablewith latest_liq as (select *,row_number() over (partition by blockchain,dex,token_address,liquidity_source order by day desc) as rnfrom query_2834395)select *,sum(token_amount_usd) over () as total_liq_usdfrom latest_liqwhere rn = 1