Changes

Jump to: navigation, search

Implementing drill-down in a dashboard

1,668 bytes added, 16:14, 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.
# Create a new dashboard
# On this dashboard, create a new chart dashlet (new content):
## Base it on a Victim data domain
## Create a very simple bar or pie chart to visualise the number of victims by gender
## Save the dashlet and the dashboard
# 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.
# Go back to the dashboard created in the previous step
# Right-click on the victims by gender chart and select Properties
# Go to the '''Hyperlinks''' tab
# Tick '''Enable chart links'''
# Under '''Action''', select '''Open new page'''
# In '''Repository URI''', insert: repo:/<path_to_your _report>/<name_of_your_report>?genderenum_enum_1=$P{Gender}
## '''repo:''' means that the linked report is a resource from the MINT repository
## 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]]
# Save the dashboard
# Run the dashboard and click on different values (Male/Female) of your chart to experience the drill-down.
1,068
edits

Navigation menu