See the data and query behind a widget
Every widget on a custom dashboard has a Data tab with the rows it charts and a Query tab with the SQL that produced them, so you can check a figure before you use it.
Check a widget
Step 1: Open the custom dashboard and find the widget.
Step 2: Select the Data tab to see the rows behind the chart or number.
Step 3: Select the Query tab to read the SQL Clema wrote.
Step 4: Select the chart tab to go back to the visual.
Step 5: Select What this shows for a plain description of the measure.
Hide details closes it again.
What to look for
- In Data: the years covered, the categories used and whether any rows are missing.
- In Query: which tables were read, and the filters applied. Check that the cohort, award level or year matches what you intended.
- In What this shows: the source dataset and any caveats Clema recorded when the widget was built.
Look up a variable you do not recognise
Queries use the variable names from the source dataset. To find out what one means, open Data in the left rail, choose the source, then Data Definitions, and search for the variable. See Search Data Definitions for a variable.
To run a variation of the query yourself, copy it from the Query tab into the Query Builder for the same source. See Run SQL in the Query Builder.
Troubleshooting
- The query returned no rows.
- The filters matched nothing. Use Edit to widen the request, for example to a different year or award level.
- No data reported for this institution.
- The source has no figures for the dashboard's institution. Try another metric or source.
- Showing the last available data
- The latest refresh did not complete. Select Refresh data again. If it persists and the widget shows Needs repair, use Repair with Clema.
Common questions
- Can I edit the SQL directly?
- No. To change a widget, select Edit and describe the change in plain language. Clema rewrites the query and shows you a preview.
- Can Data Requesters see the query?
- Yes. Analytics, including the Data and Query tabs on widgets, is open to every role. Data Requesters cannot open the Data area, so the Query Builder and Data Definitions are not available to them.
- Why show the query at all?
- So that anyone using the figure can confirm what was counted. A number in a board report should be traceable to its source and definition.