An Aggregation Case Study
Let's look at the use case introduced in the aggregate models topic: A sales manager wants to quickly see the value of all opportunities in a team's pipeline, broken down by stage, plus an average by stage. The sales manager also wanted to filter by owner, close date, and industry. So, let's build this page.
Note: Aggregate models are available for Salesforce and SQL connectors.
Assumptions
This tutorial assumes you have a Nintex Apps page on a Salesforce connection and that the page has:
-
A model on the Salesforce Opportunity object
-
A model on the Salesforce User object with the following configuration:
-
Property settings
- Max # of records (limit): Blank.
- Fields to Order by: Name.
-
Fields included in the model
- Name (Full Name)
- ID (User ID)
-
Aggregating Sales Opportunities by Stage
The result
A page that:
- Displays the value of all opportunities in a team's pipeline, broken down by stage, plus an average by stage.
- Contains filters allowing the end user to see opportunities limited by owner, close date, and industry.