issue_163: group balance by month, week by main category