Define goal rollup queries (Sales & Sales Hub)
Use the rollup query to gather data about a given goal, including all its related goals, in one view.
Create a rollup query (Sales Hub)
Currently, you can't create a goal rollup query in the Sales Hub app. To create a goal rollup query, use the Dynamics 365 - custom app.
Create a rollup query (Sales)
Make sure that you have the System Administrator, System Customizer, Sales Manager, Vice President of Sales, Vice President of Marketing, or CEO-Business Manager security role or equivalent permissions.
Check your security role
Follow the steps in View your user profile.
Don’t have the correct permissions? Contact your system administrator.
Go to Rollup Queries. How do I get there?
To create a new rollup query, in the Records group, select New.
To edit a rollup query, select Edit.
Fill in your information. Use the handy tooltips as a guide.
Name. Enter a name between 1 and 50 characters.
Entity Type. Select the record type.
Owner. Select the Lookup icon, and select the user or team who will own this query.
If you change this selection after you add your query criteria in the Query section, your query criteria will be deleted.
In the Query section, add the criteria for your query. The criteria you can add depends on the record type.
To see the results for the query, select View Records.
Select Save, Save and Close, or, to create a new rollup query, Save and New.
To view the data for a goal, on the nav bar, select Sales, and then select Goals.
Select the goal you want, and then select More Commands, and then select Recalculate.
The values of the actuals are recalculated. You can see the recalculated values in the Percentage Achieved, Actual, and In-Progress columns. If you open the goal, under Actuals, you can see the Last Rolled Up Date.
The maximum number of records that can be counted in a goal rollup query is 5000.