It is recommended to visit the Roll-Up Reporting plugin page on the Matomo (Piwik) Marketplace as a starting point. There is also a Roll-Up Reporting User Guide.