Merge two rows into one

Can you share the Flux queries you have for both sets of data?