Changes

Jump to: navigation, search

Implementing drill-down in a dashboard

141 bytes added, 16:17, 22 June 2017
no edit summary
== Example ==__NOEDITSECTION__
Let's walk through a concrete example to illustrate the principle described above. For this, it is assumed to have a [[Creating_MINT_Domains|Domain]] on Victim data from IMSMA.
# <ol><li>Create a new dashboard</li># <li>On this dashboard, create a new chart dashlet (new content):</li><ol>## <li>Base it on a Victim data domain</li>## <li>Create a very simple bar or pie chart to visualise the number of victims by gender</li>## <li>Save the dashlet and the dashboard</li># </ol><li>Create another simple Ad-Hoc View on the same domain to visualise the number of victims by activity at the time of accident (or by any other activity). Create a filter on Gender. Save as ad-hoc view and report and remember the name and location of the report.</li># <li>Go back to the dashboard created in the previous step</li># <li>Right-click on the victims by gender chart and select Properties</li># <li>Go to the '''Hyperlinks''' tab</li># <li>Tick '''Enable chart links'''</li># <li>Under '''Action''', select '''Open new page'''</li># <li>In '''Repository URI''', insert: repo:/<path_to_your _report>/<name_of_your_report>?genderenum_enum_1=$P{Gender}</li>## <ol><li>'''repo:''' means that the linked report is a resource from the MINT repository</li>## <li>To determine the name of the parameter (in this case genderenum_enum_1), go to the drill-down Ad-Hoc View and hover over the filter attribute, in this case '''Gender''' and note the name appearing in the popup, such as ''genderenum_enum'' in the example below. Then, append '''_1''' to this name to get the full parameter name, in this case ''genderenum_enum_1''.[[File:MINT_drilldown_parameter_popup.png|center]]</li># </ol><li>Save the dashboard.</li># <li>Run the dashboard and click on different values (Male/Female) of your chart to experience the drill-down.</li></ol>
1,068
edits

Navigation menu