How to get sum on monthly basis for calculations?

For a rolling 28 days can you do running sum?

In regards to grouping your days to 28 you might look at this post for more information.