Query editor
withprice_usd as (selectdate_trunc('day', minute) as day,avg(price) as pricefrom prices.usdwhere symbol = 'WETH'group by 1)selectt.day,t.users,t.new_users,t.returning_users,t.acm_new_users,t.swaps_number,t.acm_swap_number,ROUND(t.swaps_amount * p.price, 2) as swaps_amount,ROUND(t.acm_swap_amount * p.price, 2) as acm_swap_amount,ROUND(t.avg_swap * p.price, 2) as avg_swap,ROUND(t.max_swap * p.price, 2) as max_swap,ROUND(t.min_swap * p.price, 2) as min_swapfrom query_3682382 tjoin price_usd p on t.day = p.dayorder by 1