Hands-on exercise for creating a dashboard

Let's create a dashboard with a component showing the number of accounts per sales representative in a horizontal bar chart, but before that, we need to create a report for the dashboard component data source. Assume you have all permissions required to create a report and a dashboard.

Creating a dashboard in Lightning is pretty cool; you just need to point and click to build the dashboard. Start with selecting a valid report for the dashboard:

  1. Navigate to the Reports tab to create a new report.
  2. A report is a basic requirement for a dashboard as it uses it as the data source for the dashboard component, so let's create the report:
    1. Click on the New Report button.
    2. Select the Accounts report type ...

Get Salesforce Lightning Reporting and Dashboards now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.