Query editor
with portfolio_1 as (select time, total_portfolio_value as tvl_1from query_3890463 -- first),portfolio_2 as (select time, total_portfolio_value as tvl_2from query_3890986 -- second),portfolio_3 as (select time, total_portfolio_value as tvl_3from query_3899757 -- third (Bernstein)),summary as (select time, tvl_1 as first_portfolio, tvl_2 as second_portfolio, tvl_3 as third_portfolio,tvl_1+tvl_2+tvl_3 as total_valuefrom portfolio_1left join portfolio_2 using(time)left join portfolio_3 using(time))select * from summary order by 1 desc