Add functionality to calculate balances from the beginning of the current quarter