Drill-downs¶
What a click on a custom report opens: the rows behind the click, or another custom report filtered by it.
Every level of a report has a Drilldown tab, in the grid report editor and the graph editor alike. It holds one Drilldown check box and, when it is selected, two kinds: Report data source and Custom report. The hint under them says in full what a click does.
Drilldown cleared¶
With Drilldown cleared, nothing opens. The click still reaches an Advanced Report Designer that hosts the report, so a custom report can drive the right-hand report of a linked pair.
Report data source¶
A click opens the rows of this report's own query behind the clicked point, in PULSE Dashboard's drill-down window. On a grid report that adds up by an Aggregate, the click opens the rows the clicked row adds up; on a grid report with no Aggregate, it opens that row itself, with every column of the query. On a graph, a click on a bar, slice or cell opens the query's rows behind it. On a Dynamic query the window runs over the report's view, so every column of the query is there and users can add linked fields with the window's grid button, as on any PULSE Dashboard drill-down. The window's caption spells out the filter the click applied: Customer Type in (1) AND Salesperson = 10964 AND Customer Type = 1 AND Cust Name = Ben Test EM10.
Custom report¶
A click opens a custom report of its own, embedded in this one and filtered by the click. Choosing Custom report adds the drill-down under this level and names it on the tab, as Drilldown 1, Grid, with Edit... beside it. Edit... shows the drill-down's query, grid and Mapping in place of the report's; a path under the editor's header leads back, and each level above is a link. A drill-down has its own Drilldown name, which captions its tab in the drill-down window, and its own Drilldown tab, so levels nest as deep as the report needs. Clearing Drilldown or choosing Report data source removes the drill-down after a question that counts the levels under it.
A drill-down level is a grid report on a Simple query. Its editor has the same shape as the report's, with two additions: Preview for on the PREVIEW title row, and a Mapping tab.
Preview for¶
A drill-down runs for one value of the level above, exactly as a click would run it. Preview for lists the values of the level above's last run; choose one and the drill-down's query runs filtered by it, with the placeholders filled in and the conditions applied. Until the level above has run, the list reads run the report above to choose one of its values. A value the level above no longer returns is reported: Acme Fasteners is no longer among the rows of the report above: choose another in Preview for. Under the preview, Not filtered by ... names anything the click could not apply.
Mapping¶
Mapping is the Advanced Report Designer's: one row per value a click on the level above can supply, the clicked values first, then the PULSE Dashboard filters the level above can be filtered by, with Source Element, Value, Destination Element and Status.
The Destination Element offers a column of this level, as Customer # (cus_no); a placeholder in this level's query, as @@REGION in the query, which is how a value that is not a matrix element is passed, applied inside the query before its GROUP BY; or Not Mapped, which leaves the value out of the drill-down's Pulse Filter on purpose. A period mapped to a placeholder uses the pair @@INV_DT_FROM / _BEFORE in the query.
The Status column reads mapped, mapped in the query, Not Mapped, or a problem in firebrick: incompatible for a value with no destination, that column is gone for a destination the query no longer returns, or a placeholder the query no longer has. Set incompatible to Not Mapped on the toolbar sets every incompatible row at once. A row that is set by hand replaces the automatic match; the Value column shows what the chosen Preview for value passes through each row, such as 3/1/2017 to 3/31/2017.
Under the list, Summary Total: [a sum or count of the level above] is checked against [a column of this level]. The drill-down's footer then shows the clicked value beside its own total, amber when they differ, in the editor's preview and in the drill-down window. Nothing is shown when a filter was Not Mapped, removed or incompatible, nor after a cancelled run.
Where a drill-down opens¶
The first drill-down always opens as a tab of the drill-down window. A drill-down below the first has Opens in: Secondary Drilldown, below its parent in the window and following the selected row, the two-grid drill-down PULSE Dashboard users know; or Its own tab, where a click opens it in a new tab.
Problems that stop Release¶
A problem on any level is written in the editor's footer in firebrick, with Saved as a draft; Release waits until it is corrected. The drill-down's name on the tab carries ! and the count. Release refuses with the same list. The problems a drill-down can have:
- Drilldown 1: it has no query yet.
- Drilldown 1: run its query, so it has its columns.
- its Drilldown is Custom report, but it has none.
- Salesperson (filter) is incompatible: map it on the Mapping tab, or set it to Not Mapped.
- Customer # is mapped to a column the query no longer returns: map it again on the Mapping tab.
- @@REGION is not a matrix element, and nothing above passes it a value: map a value of the report above to it on the Mapping tab, or take it out of the query.
- its Summary Total check names a column that is gone.
The drill-down window¶
A Custom report drill-down opens in a window drawn as PULSE Dashboard's own drill-down window is: maximized, titled with the report's name, a tab per click captioned with what was clicked, each grid captioned with its Pulse Filter and carrying the grid's Print, Save As and Maximize buttons. Esc closes the tab shown, and the window with its last tab. The Excel button at the top opens the shown tab's rows in Excel. One line under each grid says what the query is doing while it runs, with a Cancel, then how many rows it read; above it, only when there is any, Not filtered by ... names what the drill-down could not apply. A grid's layout belongs to the drill-down, not to the tab, so arranging the invoice columns in one customer's tab arranges them for every tab opened afterwards. Repeat clicks on the same point are ignored while the drill-down runs.
Worked example¶
Sales by Customer is a graph by cus_no. On its Drilldown tab, select Drilldown, choose Custom report, and press Edit.... Name the level Customer invoices and write its query over #OPT_CustomerOrdersYear returning inv_no, inv_dt, cus_no, cus_name and pulse_inv_amt as [Invoice $]. Execute. Mapping shows Customer # (across) mapped to Customer # (cus_no) on its own, and any tab filter the graph can take; set a filter the invoices cannot use to Not Mapped. Choose Sales $ under Summary Total and compare it with Invoice $. Pick a customer in Preview for: the preview shows that customer's invoices, their total, and the graph's Sales $ beside it.
Need a hand?
The PULSE support team is happy to help: call (513) 723-8095 or email [email protected].