INSTRUCTIONS FOR ADVANCE REPORTING.
Step 1:- Login to your admin.
Step 2:- Go to STORES->Settings->Configuration as image below.
Step 3:- On left side expand GENERAL tab and click on Advanced Reporting section as image below.
Step 4:- Select Enable from drop down and click on Save Config button.
Step 5:- Clear your cache.
NOTE:- This is a default feature of Magento 2. If you want additional functionality in advance reporting then you can install an extension for it.