Aggregating series graphs

Hi,

I’m trying to configure total traffic on a switch which includes all ports, both inbound and outbound.
Is there any way to stack these series so I will be able to get a total of traffic passed both inbound and outbound on the same graph?

See below. I only want to have 10 ports in total, but with both tx/rx traffic displayed, not 20 bars as I get now.

Thanks

set axis mode to time, then enable stacking, or add seperate query that sums both metrics (so one series is the total).

Hi Torkel,

I want fixed positions for the ports that shows the traffic so I cannot use Time. I have 2 queries, but how to I merge them to the same sum?
The query item is different, I have only renamed them to P% on both inbound and outgoing traffic.

image