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

Create Reports and Dashboards

The Suggestion Box app you created includes a Reports tab and a Dashboards tab, where you can create, edit, and run reports and dashboards. These features make an app more useful by providing the business with valuable insights.

Create a Tabular Report

Start with a simple tabular report to show the number of suggestions received and the status of each one. A tabular report presents data in simple rows and columns, much like a spreadsheet. You can use it to show column summaries, like sum, average, maximum, and minimum.

  1. Click the App Launcher App Launcherand select Suggestion Box.
  2. Select the Reports tab, click New Report.
  3. In the Search Report Types, enter Suggestions and choose Suggestions.
    Note: If you don't see the Suggestions report type, go back to Setup and click Object Manager. Click the arrow next to Suggestion and then click Edit. Under Optional Features, check Allow Reports. Click Save. Then go back and create the report.
  4. Click Start Report.
    Note: In the Report Builder, notice that the Suggestion Name field is already on the report. In the preview screen, you can see the sample Suggestion records you created in previous steps.
  5. Enter Status in the Add Columns search and select Status. Similarly, enter Number of Days Open in the Columns search and select Number of Days Open.
    Note: You can also drag the fields from the Fields pane into the Columns section. Screenshot of an unsaved tabular report showing the Add dropdown button deployed and Row Limit selected from the menu
  6. To make sure that you’re viewing only suggestions that still need to be implemented, select Filters.
  7. In Add filter search, enter Status and select Status.
  8. In the Filter by Status, change operator to not equal to and change Value(s) to Implemented.
  9. Click Apply.
    Screenshot of an unsaved tabular report with the filter status set to Status Not Equal to Implemented
  10. Click Save, and name your report Suggestions: Status of Open Suggestions.
  11. For Folder, click Select Folder and select Public Reports so that everyone can access it.
  12. Then click Select Folder again.
    Note: If you don’t want this report to be accessible to everyone, create a folder and give different people different levels of access to it.
  13. Click Save and then Save & Run.
    Screenshor of report titled Suggestions: Status of Open Suggestions

Create a Summary Report and a Report Chart

It’s often a good idea to give users a visual way to understand the data in your report. Tabular reports don’t include charts, so let’s copy the report and make a Summary report. Then, you can add a chart.

  1. From the Report Results view of the Suggestions: Status of Open Suggestions report.
  2. Click the dropdown by Edit and choose Save As.
  3. Type Suggestions: By Status as the report name.
  4. Select Public Reports folder.
  5. Click Save.
  6. Click the Edit button, then in the Groups search, enter Status and select Status.
    Screenshot of the Suggestions by Status report showing how to create a Summary report
  7. Click Save & Run which leads to the Report Results view.
  8. Click the Add Chart button to add a chart to this report.
  9. Click the chart properties gear icon and choose Donut chart.
  10. In the Chart Title type Suggestions Status and in Value dropdown, choose Record Count.
  11. Click the dropdown by the Edit button and then click Save.

The donut chart displays above the report results and shows the total number of open suggestions by status.

Create a Dashboard

Dashboards in Salesforce are like a dashboard in your car, showing you important information at a glance. Dashboards can show data in charts, gauges, tables, and metrics. Dashboards are powered by reports.

  1. Go to the Dashboards tab and click New Dashboard.
  2. Type the Dashboard Name as Suggestions Dashboard and create it on the default Private Dashboards folder.
  3. Click Create.
  4. Click the +Widget button and select Chart or Table.
  5. In the Report Search, look for Suggestions: By Status and select it. Click Select.
  6. Choose the donut chart and in the Value dropdown select Record Count.
  7. Edit the Title as Suggestions By Status.
    Screenshot of the Add Component screen for the Suggestions by Status report
  8. Click Add.
  9. Click Done and then Save.

Screenshot of the Suggestions dashboard showing an example of the donut chart

Summary

You did it! You built a simple suggestions management app, all without a single line of code. You started by creating the simple data model and the default user interface for managing suggestions. You then customized the user experience by using drag-and-drop editors. Next, you added business logic with the formula language and flow builder. Finally, you created some reports and dashboards to monitor and analyze your business data. You can continue your journey and dive deeper by following the links in the Resources sections of this project.

Resources

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback