Show bytes sent the last days, weeks, month


I would like to have a short table in Grafana which shows me the total number of Bytes sent/received on an interface. The issue I currently face is that the bytes_sent (or bytes_received) number is jumping, i.e. falling back once the max. number is reached. See attached screenshot to show what I mean:


My question is how to calculate/query the number of bytes sent the last day, week, current and previous month.