Sub topic 2
Choosing the Right Chart and Display Options
Assume you can create and run Salesforce reports and understand record sharing. This chapter focuses on selecting dashboard components and controlling viewer context.
Choosing the Right Chart and Display Options
Choose a component based on the question the dashboard must answer.
| Need | Component | Useful display choice |
|---|---|---|
| Compare totals by category | Bar or column chart | Group by Stage, owner, or region |
| Show change over time | Line chart | Group by calendar month or quarter |
| Show progress toward a target | Gauge | Set a clear target and summary value |
| Highlight one number | Metric | Display a total, average, or count |
| Let users inspect records | Table | Limit columns and sort by importance |
A chart needs a suitable summary or matrix report. Grouped rows provide categories, and summarized fields provide values. Avoid pie charts when there are many categories because small differences become difficult to compare.
Adding Dashboard Filters
A dashboard filter lets viewers narrow several components without editing their source reports. For example, a Region filter might change opportunity, case, and account components together.
The filter field must exist in a compatible form in the source reports. If a component does not respond, check that its report includes the field and that the filter value matches the report field values. Use a small number of filters with clear labels.
The Running User and What Viewers Can See
The running user is the Salesforce user whose permissions and record access determine the dashboard data. A dashboard running as a sales manager may show more records than the same dashboard running as a sales representative.
The running user does not override folder access or report permissions. Viewers still need access to the dashboard folder and its source reports.
Building a Dynamic Dashboard
A dynamic dashboard runs as the logged-in user instead of one fixed user. Each viewer therefore sees data allowed by their own permissions and sharing rules.
To create one, select Let authorized users change the running user or the equivalent dynamic-dashboard option in the dashboard properties, then save and test it with users from different roles. Dynamic dashboards are useful for team-wide views where each person must see only their own accessible data. Use a fixed running user when everyone needs the same controlled, organization-wide view.
Exercise
A dashboard chart is empty for some users but not for the administrator. What should you check first?
Show answer
Check the running user, report and folder access, and whether record sharing gives those users any records that match the report filters.