The first you have to know is how you store your metrics and how to explore it.
I log a few power metrics once per second. Then I create some mean metrics like mean minute and hourly means
To show month and year metrics I use the hourly mean of each day.
Are you looking for something like this?
This month:
Previous month
This year
Previous year




