Sub topic 14
Troubleshooting common dashboard problems
This chapter assumes you can build a summary report, create a dashboard with components, and set a running user. It also assumes you know how folder access and record sharing work. Most dashboard problems come from three places: the source report, the running user, and folder access. Check them in that order.
A working model for diagnosis
A dashboard component does not hold data. It reads a source report, and the report runs as the dashboard's running user. A viewer sees the dashboard only if they can open its folder. So three questions cover most cases:
- Does the source report return rows and groupings for the running user?
- Does the running user have access to the records you expect?
- Can the viewer open both the dashboard folder and the report folder?
Empty components
An empty chart or table usually means the report has nothing to plot. Open the source report and run it as the same user.
- No groupings. Charts need a summary or matrix report with a grouping. A tabular report has nothing to group by, so a chart cannot use it.
- Filters that exclude everything. A date range such as "Current FQ" can return no rows early in a quarter. A dashboard filter applied on top narrows the data further.
- Wrong running user. The running user may not see the records. The report returns rows for you but none for them.
Missing or different data
If two people see different numbers, check the dashboard type first. A static dashboard shows everyone the running user's view. A dynamic dashboard shows each viewer their own view. Different numbers on a dynamic dashboard are expected.
If a static dashboard shows too little, the running user's role or sharing limits their records. Pick a running user with the right visibility. If it shows too much, remember that viewers see data they could not open in the report. Use a dynamic dashboard when each person should see only their own records.
Numbers can also be stale. A component shows the data from the last refresh, and the dashboard header shows when that happened. Refresh it, or check the scheduled refresh.
Inaccessible reports and dashboards
Viewers need access to the dashboard folder. They do not need access to the report folder to see the component. They do need it to click through to the report. If the click-through fails with an insufficient-access message, share the report folder as Viewer.
A dashboard may also vanish from a user's list because it sits in a private folder or in a folder shared with a different role. Check the folder's sharing settings before you change anything else.
Checking running user types with SOQL
If you suspect a dashboard has the wrong running user type, query it. This lists the dynamic dashboards in your org:
SELECT Id, Title, DeveloperName, FolderName, Type, RunningUserId
FROM Dashboard
WHERE Type = 'LoggedInUser'Compare this against the dashboard that behaves unexpectedly. If it is missing from the results, it is a static dashboard.
Quick reference
| Symptom | Likely cause | First fix |
|---|---|---|
| Component is empty | Report has no rows for the running user | Run the report as that user and relax filters |
| Chart cannot be built | Report has no grouping | Convert to a summary or matrix report |
| Numbers differ between viewers | Dynamic dashboard | Confirm this is intended |
| Click-through fails | No access to the report folder | Share the report folder as Viewer |
| Numbers look old | Dashboard not refreshed | Refresh or fix the schedule |
Exercise
A sales manager opens a dynamic dashboard and sees an empty "My open deals" table. The source report shows 12 open opportunities when you run it yourself. What should you check first?
Show answer
Check what the manager can see. On a dynamic dashboard the report runs as the manager, so the manager may own no open opportunities or lack access to them. Run the report as the manager, or review their role and the sharing settings. Also check that dashboard filters are not excluding all rows.
Exercise
A user can open a dashboard but gets an insufficient-access error when clicking a component to see the report. What is the fix?
Show answer
Share the folder that holds the source report with the user at Viewer access.