michael.christ_1 Posted October 19, 2022 Share Posted October 19, 2022 Hi. Community Edition 6.19.0. I created a main report that displays a pie chart. The data source returns two values: VENDOR_ID and CNT. For the hyperlink properties I defined:Link Target: BlankLink Type: ReportExecutionParameters:_report: location of detail reportVENDOR_ID: $F{VENDOR_ID}The detail report is a table. I defined:Input Control named VENDOR_IDParameter named VENDOR_IDI updated the SQL to include $P{VENDOR_ID}Here's the problem. When I run the main report I indeed can drill to the detail. BUT no matter which pie slice I click, the same value is passed to the detail. That value seems to be the last VENDOR_ID returned in the main report.Does anyone have any ideas why the hyperlink to the detail report does not contain the value of the pie slice I click on?Update: I solved this issue. The solution is to click the hyperlink button that displays in the pie chart window and NOT in the properties window. Link to comment Share on other sites More sharing options...
Tom C Posted October 20, 2022 Share Posted October 20, 2022 You are setting the hyperlink for the entire chart. You need to instead set the hyperlink for the chart measure in order pass the slice value for that particular measure to a drill down report.Refer to:https://community.jaspersoft.com/wiki/html5-charts-measure-and-bucket-properties Examples:https://community.jaspersoft.com/wiki/how-do-i-set-chart-hyperlinks-html5-chartshttps://community.jaspersoft.com/wiki/video-passing-multiple-values-pie-chart-slice-highcharts-through-hyperlink Link to comment Share on other sites More sharing options...
sadakar Posted October 20, 2022 Share Posted October 20, 2022 Would this be of any help ? an older post, but details the same concept that you are looking for. https://jasper-bi-suite.blogspot.com/2014/04/drill-down-functionality-example-on.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now