We will now modify the functions of our report so that they perform their calculations correctly, taking these newly created groups into account. We will also configure the Group section of our report so that every time the country changes, it continues on a new page.