Drill-down and On Click New in 2
Audience:
Low-code EngineersSkill Prerequisites:
Dashboard,Listings,Actions
A number on a dashboard often raises the question "which ones?". A drill-down answers it: clicking a bar, a slice, a point or a KPI tile opens a list of the records behind it. On click actions run on the server when the widget is clicked, before the drill-down opens.

How a drill-down works
- The list is a regular Listing, generated for you from the widget's settings: the same entity or table, the same WHERE clause and time range, the dashboard's filters as the viewer set them, and the group that was clicked. It lists exactly the records the widget counted.
- The listings live on a hidden page under the dashboard's page, created with the dashboard's first drill-down. It isn't shown in menus, and it gets the dashboard's view permissions, so whoever sees the dashboard can open its drill-downs.
- Once created, the listing is yours: change its columns, sorting or filters in the Listing's own settings. The builder never regenerates it.
- The generated listing is read-only: no Add, Edit or Delete buttons.
Add a drill-down to a chart
-
In the Dashboard Builder, click the chart and open its Actions tab.
-
Under Drill-down, click Create listing.

-
The section now names the listing, with Edit listing and Remove.

-
Click SAVE.
On the page, the chart shows a pointer over its points, and the tooltip ends with "Click to see the records":

Clicking a bar opens the popup with its records, titled with the chart and the point, e.g. "Revenue per region, Q1 2026: North". Those who can edit the dashboard also get Edit listing in the popup, and a list icon next to the chart's gear, to change the listing.
Remove takes the drill-down off the chart and moves its listing to the recycle bin when you SAVE. Deleting the chart does the same.
What the drill-down shows, by data source
| Data source | The generated listing |
|---|---|
| Entities | The entity's records, with its view permissions, filtered like the chart and by the point clicked. |
| Database Tables | The table's rows, filtered like the chart and by the point clicked, on the chart's database. |
| SQL Query | Your Records query, asked for under Drill-down. It reads the point clicked as SQL parameters (see below). |
| Token, Constant | The chart's JSON rows, keeping those of the point clicked. |
| Workflow | No drill-down: a listing can't read a workflow's output. |
The records query of a SQL chart
A SQL chart draws totals; the records query lists the records behind them. It reads what was clicked from these parameters:
| Parameter | Value |
|---|---|
@drill_value | The point's X value, e.g. North, or a date group's first day. Empty when the listing is opened without a point. |
@drill_from, @drill_to | A date group's first day, and the day after its last. |
@drill_series | The value clicked, e.g. Revenue, when the chart draws several. |
@drill_none | 1 for the "(none)" group. |
For a chart of orders per region:
SELECT Id, OrderDate, Region, Customer, Amount
FROM dbo.Orders
WHERE @drill_value = '' OR Region = @drill_value
The values are passed as SQL parameters, never written into the query.
If the chart follows the dashboard's filters, write the same [Filter:…] tokens in the records query, so the list counts what the chart counts:
SELECT Id, OrderDate, Region, Customer, Amount
FROM dbo.Orders
WHERE (@drill_value = '' OR Region = @drill_value)
AND ('[Filter:Period:From]' = '' OR OrderDate >= '[Filter:Period:From]')
AND ('[Filter:Period:To]' = '' OR OrderDate < '[Filter:Period:To]')
See Drill-downs and the dashboard's filters.
Scatter and bubble charts
A scatter point is a record: clicking it opens that record alone. A bubble of an entity or a table is a group: clicking it opens the group's records, as a bar does.
Add a drill-down to a KPI tile
KPI tiles have the same Drill-down section, on their Actions tab. Clicking the tile opens the records behind its number, titled with its title, time range and number, e.g. "Customer value · This Year ($373,776)".
- Entities and Database Tables: the records counted. For a Minimum or a Maximum, the listing opens sorted so that the record behind the number comes first.
- SQL Query: write a Records query, e.g.
SELECT * FROM dbo.Orders WHERE Status = 'Open'for a tile ofSELECT COUNT(*) FROM dbo.Orders WHERE Status = 'Open'. - Workflow, Token and Constant tiles have no records to list.
Drill-downs and the dashboard's filters
When a dashboard has filters, a drill-down lists the records behind the point as the widget counted them, filters included. If a viewer has filtered the dashboard down to the 3 customers of the North region, clicking that bar opens those 3 customers, not every customer in the North.
Create listing sets this up for you:
- A widget whose Time Range follows a date-range filter (Filter: <label>) gets a listing that reads the same range: a preset such as
Last 30 Days, or the viewer's Custom days. [Filter:…]tokens in the widget's WHERE clause, records query or SQL query, or in a Token chart's JSON, are carried over to the listing.
A listing isn't on the dashboard's page, so it can't read [Filter:…] tokens itself. The drill-down's address carries each filter's value instead, as the widget read it, its default applied. Create listing writes the tokens in the form the listing reads:
| In the widget | In the generated listing |
|---|---|
[Filter:Region] | [QueryString:drill_filter-Region] |
[Filter:Region:Text] | [QueryString:drill_filter-Region-Text] |
[Filter:Period:From] | [QueryString:drill_filter-Period-From] |
[Filter:Period:To] | [QueryString:drill_filter-Period-To] |
Use the right-hand form when you change a listing's WHERE clause or query in its own settings, for example:
WHERE ('[QueryString:drill_filter-Region]' = '' OR Region = '[QueryString:drill_filter-Region]')
The builder never regenerates a listing. If you add a filter to a widget after creating its drill-down, add it to the listing's WHERE clause too, or Remove the drill-down and Create listing again.
Run actions on click
On click runs an action list on the server, as the viewer, when a point or a tile is clicked. Use it to refresh records from another service before the drill-down opens, to log the click, to show a message or to go to another page.
-
On the widget's Actions tab, under On click, click Edit actions.
-
Add the actions, then click Done.

-
Click SAVE.
The actions are the common server actions (SQL, entities, HTTP requests, email, workflows…), plus Display Message, Display Error Message, Display Toast Message, Redirect to URL and Stop Execution.
What was clicked is available as tokens:
| On a chart | On a KPI tile |
|---|---|
[Point:Value]: the X value, as @drill_value | [Kpi:Value]: the number before formatting, e.g. 373776.5 |
[Point:Label]: the label shown, e.g. "Jan 2026" | [Kpi:Text]: the number as shown, e.g. "$373,777" |
[Point:Series]: the value clicked | [Kpi:Title]: the tile's title |
[Point:From], [Point:To]: a date group's days | [Kpi:From], [Kpi:To]: the tile's time range |
[Point:None]: 1 for the "(none)" group |
For example, a Display Toast Message of Refreshing [Point:Label]… shows "Refreshing North…", then the drill-down opens.
After the actions:
- Display Message, Display Error Message or an error shows on the page, and the drill-down doesn't open.
- Stop Execution ends the run without opening it.
- Redirect to URL goes to the address.
- A toast shows, and the drill-down opens.
A widget with On click actions and no drill-down is clickable too.