Data Sources
Data sources are the stored queries behind your dashboard charts. You make and change charts on a dashboard, with New chart and Change this chart (see Dashboards). The Data Sources pages are for troubleshooting: checking what a chart reads, the job that wrote it, and why it shows nothing.
Accessing data sources
Tenant and global administrators — From Manage Tenant (or Tenant Management for global administrators), open the tenant detail page and select the Data Sources tab. Data sources follow your signed-in tenant — if you opened another tenant from the list without entering it, select Enter Tenant first, then open Data Sources.
Global administrators managing Report Library templates — While signed into the platform context, open Data Sources from the Settings gear menu.
The data sources list
The data sources table shows all reports available to your organization. The columns are:
- Name — the report label. Reports marked with a Template badge are pre-built, code-owned templates provided by the platform (the Report Library).
- Category — the subject area the report covers.
- Type — the default visualization type (chart, table, or KPI).
- Created — when the data source was added.
Template data sources appear at the top of the list, followed by your organization’s own data sources.
Built-in templates run live from the platform definition. When you add a Report Library report to a dashboard, the widget points at that template directly — deploys that update the template’s SQL apply to those widgets automatically.
Viewing a data source
Select the eye icon on any row to open the data source detail view. There you can preview the report output and see its configuration.
Troubleshooting a chart
The detail page’s Troubleshooting card explains why a chart may be empty or wrong:
- Why the chart may be empty or wrong lists anything blocking the chart. For example, the AI is still writing the query, the AI’s last attempt was not saved, the chart shows patient names and your access doesn’t include patient details, the reporting data for the chart hasn’t been built for your organization yet (it appears after the next hourly refresh), or the chart reads older reporting data that is being retired or is no longer refreshed. For a chart on older reporting data, open it on a dashboard and select Change this chart; describing the same chart rebuilds it on current reporting data. When nothing is listed and the chart still has no rows, nothing matched in your business units with its current filters.
- Asked for shows the description the chart was made from, and Last change shows the most recent change request.
- Reads lists the reporting tables the query uses.
- Job that wrote it and Job for the last change show the job ID, its status, when it started, and any error, so support can trace it.
Select Refresh to check again. When you select Execute in Query Results and no rows come back, a message points you to this card.
Changing a data source with AI
Select the pencil icon on one of your organization’s data sources. The pencil does not appear on templates. In the dialog, describe the change you want, for example “add the drug name as a column”, and select Alter. The AI revises the report’s current query and saves it to the same data source. Dashboard widgets that use the report keep working and show the new results; you do not need to reconfigure them. The dialog shows progress and closes when the change is saved.
To change a report’s drill-down, or to undo a change, use the Change with AI card on the data source’s detail page.
Cloning a template
Templates cannot be edited directly. To customize one for your organization, select the clone icon on any template row. This creates a snapshot copy as a regular data source you can edit. That clone freezes the SQL at clone time and no longer follows platform deploys — further template updates do not change your copy. Cloning is an intentional customization step; adding a built-in report to a dashboard does not create a clone.
Deleting a data source
Select the delete icon on any non-template data source row. Confirm the deletion in the dialog. Widgets on your dashboards that reference a deleted data source will show an error until they are reconfigured.
Change with AI
On a data source’s detail page, the Change with AI card changes the report or its drill-down in place.
- If the report has a drill-down, choose Chart to change the report itself or Drill-down to change the detail table that opens when someone clicks the chart.
- Describe the change, for example “count by month instead of by week” or “add the PA status column”.
- Select Apply change. A progress message appears while the AI revises the query, and then confirms when the change is saved.
The change is saved to the same chart or drill-down, so dashboard widgets and the drill-down link keep working without any setup. When you change a chart, the column people click to drill down is kept. When you change a drill-down, the filter the chart passes on a click is kept.
Undoing a change
Every change keeps the version it replaced. Select Undo last change to restore the previous version. The card shows how many earlier versions are kept and the instruction behind the last change. You can undo several times in a row.
Reports you can’t change
- Report Library templates, including built-in reports, can’t be changed directly. Clone the template from the Data Sources list, then change your copy. On a dashboard, Change this chart offers Make my own copy instead.
- A shared drill-down on your own report — when your report opens a drill-down that is still shared from the Report Library, select Copy drill-down to my tenant and confirm. Your report then opens your copy of the drill-down, which you can change. You only need to copy it once.
In-widget drill-down setup
On a data source’s detail page, the In-Widget Drill-Down card controls whether dashboard widgets built from this report can drill into a detail view when users click chart bars or table rows.
Viewing the current setup
When drill-down is configured, a green summary describes the behavior (for example, which column triggers the drill and which detail report opens). When nothing is configured, an informational message explains that you can select Edit to enable drill-down.
Configuring drill-down
Select Edit on the In-Widget Drill-Down card. The guided form includes:
- Enable in-widget drill-down — turn drill-down on or off for this data source.
- Trigger column — the column users click in the chart or table (for example
appeal_stageorguideline_name). Suggestions may appear based on columns from a recent preview run. - Detail data source — the table report shown inside the widget after a click. Search and pick from data sources your organization can access; each option shows the report name and ID.
- SQL parameter name (optional) — the filter name on the detail report; defaults to the same name as the trigger column.
Select Save to apply. Select Clear while editing to remove drill-down entirely. Select Cancel to discard unsaved changes.
If the detail report may not have a matching filter for your parameter, a warning appears before you save — review the detail data source if you see this.
Advanced JSON
Expand Advanced: Edit JSON directly if you need to hand-edit the underlying configuration. The form and JSON editor stay in sync while you edit. Most administrators can use the guided form alone.
Templates
Template data sources from the Report Library may already include drill-down on preset dashboards. Clone a template first if you need to customize its drill-down behavior for your organization.