Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Configure Your System and Build a Dashboard

Learning Objectives

After completing this unit, you’ll be able to:

  • Customize values in the Activity Type picklist field.
  • Build key activity and win rate reports.
  • Add new reports to a dashboard.

Determine Task Types

Now it’s time to analyze key activities that your sales reps are doing to close deals. First we need to give them a place to record everything they’re doing as part of the sales process. 

We recommend customizing the Type picklist field on the activity object so that users can easily categorize the different tasks they do during the sales cycle. By default, this field includes some generic values: Call, Meeting, Email, and Other. While those four values can be enough for your organization, your sales reps can be doing other types of activities to close deals. These include product demonstrations, presentations to prospects, site visits, or project estimates.

We suggest you meet with some sales reps or managers to identify categories that work for your organization. Keep it reasonable and settle on 5 to 10 key categories that capture the most common task types. Nobody likes massive picklists, especially busy salespeople. Keep the 80/20 rule in mind as you work with your team to come up with the activity types you want to implement in Salesforce. 

Configure Activity Type Picklist

Once you’ve determined the activity categories that are right for your business, it’s time to configure the Activity Type picklist field in Salesforce. Here’s how.

  1. Click Gear Iconand select Setup.
  2. Click the Object Manager tab.
  3. Type task in the Quick Find box, and then select Task in the table.
  4. Click Fields & Relationships.
  5. Enter type in the Quick Find box, and then select Type in the table.
  6. Click New.
  7. Add your new values in the text box with each entry on a separate line.
  8. Click Save. Adding Site Visit, Demo, and Estimate picklist values to the Task Type field

Create a Key Activity Report

Now that the Activity Type picklist has been customized to your sales process, let’s build a report that breaks down the types of activities that the sales reps have logged against the deal’s they’ve won.

Note

If you’re following along in a Trailhead Playground, you should create a few sample activities before building the report. Otherwise the report will be empty. Locate two or three opportunities with a Closed Won stage value in your playground, and then create tasks related to those opportunities. 

  1. Click App Picker Icon and select the Sales app.
  2. Click Reports in the navigation bar.
  3. Click New Report.
  4. Enter activities with opportunities in the text box, and select Activities with Opportunities in the report type selection popup.
  5. Click Start Report.
  6. After the report preview loads, click Filters.
  7. Click Show Me and then select All Activities in the picklist. Click Done.
  8. Click Date and select Close Date and click Apply.
  9. Next enter an appropriate range for the report data. We’re using Current and Previous FQ in our example, but you might need to experiment to find the right time range for your implementation. Click Apply.
  10. Click Show and then select Open & Completed Activities. Click Apply.
  11. Click Add Filter and then type stage in the text box. Select the Opportunity Stage field.
  12. Select Closed Won from the list of values and then click Apply.
  13. Your filters should now look like this.

Filters properly configured for the Key Activities Report

  1. Click Outline.
  2. Click Add Group and then type assigned into the text box. Select Assigned.
  3. Add another row grouping by clicking in Add group… and entering type into the text box. Select Type.
  4. Deselect the toggle-selectors at the bottom for Detail Rows, Subtotals, and Grand Total.
  5. Click Add Chart located at the top.
  6. Click Gear Iconto bring up the chart properties.
  7. Click Stacked Column.
  8. Click Run.
  9. If you are not seeing any results in your report, it can be because there are no activities that meet the filter criteria. Locate an opportunity with a Closed Won stage, create a new task from the opportunity detail page, and then re-run the report.
  10. If the report looks good, click Save.
  11. Name the report Key Activities Report and select a location to store the new report that your sales users can access.

Create a Win Rate Report

In this second report, you will learn how to calculate each sales reps’ percentage of won opportunities. Then you can see who is really efficient at scoring deals.

  1. Click Reports in the navigation bar.
  2. Click New Report.
  3. Type opportunities in the text box, and then click Opportunities in the report type popup.

Report Type selection with Opportunities report type highlighted

  1. Click Start Report.
  2. When the report preview loads, click Outline.
  3. Type owner in the text box underneath Group Rows, and select Opportunity Owner.

Selecting Opportunity Owner field for grouping the report rows

  1. Click Filters.
  2. Click Show Me and select All opportunities.
  3. Click Close Date and select a suitable time range. Recommended: Current and Previous CQ to start with. Click Apply.
  4. Click Opportunity Status and select Closed in the opportunity status picklist. Click Apply.
  5. Click Outline, then click Arrow Iconnext to Columns, and select Add Summary Formula Column.
  6. Enter Win Rate in the Column Name text box.
  7. Copy and paste the following into the Formula text box: WON:SUM/RowCount
  8. Click Check Syntax. If all goes well, the Check Syntax button is replaced with a green check box and the word Valid, like this graphic shows.

Formula editor with Valid highlighted.

  1. Click Format.
  2. Select Percent in the Format As picklist, and select 1 for Decimal Points.
  3. Ensure All Summary Levels is selected, then click Apply.
  4. Click Add Chart.
  5. Click Gear Iconto bring up the chart properties.
  6. For Display As, select Column.
  7. Enter Opportunity Win Rate for Chart Title.
  8. Select Win Rate for the Y-Axis value.
  9. Click Run to see the full results. Opportunity Win Rate Chart
  10. If the report looks good, click Save.
  11. Name the report Opportunity Win Rate and save it in an appropriate folder. We recommend selecting a folder that your sales team can access.

Build a Dashboard

These two new reports by themselves are good, but viewing them side by side can really uncover some insights about your top-performing sales reps. Here’s how to build one. In our example we are starting with a new dashboard, but you can easily add these two new components to existing dashboards for your sales team.

  1. Click the Dashboards tab on the navigation bar.
  2. Click New Dashboard.
  3. Name the dashboard Key Sales Activity Dashboard and save in a folder that your sales users have access to.
  4. Click Create.
  5. Click +Widget and then select Chart or Table.
  6. Select the Key Activities Report you created previously.
  7. Select the stacked bar chart type, and then click Add.
  8. Click +Widget and then select Chart or Table.
  9. Select the Opportunity Win Rate report you created previously.
  10. For Display As, select the Lightning table type.
  11. Enter Opportunity Owner in the Groups text box and select Opportunity Owner.
  12. Enter Win Rate in the Measure Column text box and select Win Rate.
  13. Click the eye on the Record Count.
  14. Select Add Conditional Highlighting checkbox and enter appropriate break points for your organization. In our example, we’ve entered 50 and 75 for the segment ranges.
  15. Click Add.
  16. Use the handles on the new dashboard elements to resize and arrange the items in a visually appealing way.
  17. If everything looks good, click Save. Then click Done.

ALT: New dashboard with two components arranged side by side.

Resources

Add or Edit Picklist Values—Salesforce Help Article

Build a Report in Lightning Experience—Salesforce Help Article

Build a Lightning Experience Dashboard—Salesforce Help Article

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈