User Tools
Writing /app/www/public/data/meta/onboarding/reportingmanager/creation_of_a_drilldrown_report.meta failed
onboarding:reportingmanager:creation_of_a_drilldrown_report
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| onboarding:reportingmanager:creation_of_a_drilldrown_report [2017/05/23 15:40] – cokeeffe | onboarding:reportingmanager:creation_of_a_drilldrown_report [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Drilldown Reports ===== | ||
| + | Author: Samuel Costa | ||
| + | |||
| + | //This assumes you have already created basic and column reports and know how to use variables on the reporting manager // | ||
| + | |||
| + | A drilldown report is a type of report that displays more detailed information from the data in another report. | ||
| + | |||
| + | |||
| + | A good example of drilldown report would be the **Ticket List By User** report, which is a drilldown of the **Tickets Closed Per User** report. After running the **Tickets Closed Per User**, if you click in one of any columns, it will run the **Ticket List By User** report for that specific user. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Creating a Drilldown Report ===== | ||
| + | |||
| + | |||
| + | The drilldrown report itself works exactly as any other report in the reporting manager, the only difference is how it is accessed. Nom admin users will not be able to see the drilldown report in the report list and The only way for them to run the drilldown will be through the parent report. | ||
| + | |||
| + | === For Chart Reports === | ||
| + | |||
| + | In order to make the drilldown accessible from the parent report, you have to pass a map object in addition to the column data. | ||
| + | This map needs to have the following format: | ||
| + | |||
| + | [description:" | ||
| + | |||
| + | This string will contain the title of the drilldrown report, the variable names and their values: | ||
| + | |||
| + | chart.addData(" | ||
| + | | ||
| + | | ||
| + | ) | ||
| + | |||
| + | For instance, The code below (extracted from ' | ||
| + | |||
| + | |||
| + | db.eachRow(query){ | ||
| + | chart.addData( | ||
| + | it.Name, | ||
| + | it.Count, | ||
| + | [description:" | ||
| + | } | ||
| + | |||
| + | === For Table Reports === | ||
| + | |||
| + | In your ReportTable set the drillDown variable to the name of the report you wish to act as the drilldown. | ||
| + | |||
| + | def table = new ReportTable(title: | ||
| + | |||
| + | When you double click any row of the table it should open the drilldown report passing each each of the values for that row as the variable map for the drilldown. This is done by concatenating the table headings and row values as a string with ':' | ||
| + | |||
| + | Additionally any column names that start with " | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Drilldown Report Checklist ===== | ||
| + | |||
| + | | ||
| + | * The Drilldown report' | ||
| + | * The Drilldown report is marked as " | ||
| + | * The Drilldown report' | ||
| + | * The Drilldown report has the same visibility configuration as the parent report | ||
| + | * Any Variables passed by the parent must also be defined in child (using the web Interface) | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Self Assessment ===== | ||
| + | Make a copy of the column report that you created as part of the previous assessment and add a drilldown to the columns. | ||
| + | |||