I am creating a drilldown report in SSRS using pie chart. I have done the drilldown to the next chart but I also need to hide the parent chart once the child is visible. How can I achieve this? Please suggest.
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can achieve this by having a parameter for the report and based on his value, one chart will be visible and the other one hidden and reverse.
Follow this steps:
Create a new report and name it f.e TestDrillDown and add the both charts and set the series and data fields
Add a new parameter to the report and set its value to -1 (For example if you want to pass the “year” parameter between the parent chart to the detail chart, then name the parameter “Year”)
Set the value of “Year” parameter when clicking on the any year in the pie chart:
2.1. Click on the pie and then click on the Series Properties.
2.2. Go to Action tab and click on option Go to report.
2.3. Choose the same report f.e. TestDrillDown
2.4. Click on Add button and add parameter Name: “Year” and for the Value select the “year”
Now we can set the visibility of both charts:
3.1. Click on the chart properties
3.2. Go to the visibility tab
3.3. On show and hide based expression place this:
Now you only need to set the year parameter back to -1 when you want that the parent chart to be visible again.
You can check this link that presents a similar solution for what you need, except hiding the parent, but for that you can use the visibility condition above:
http://bi-commonsolution.blogspot.ro/2012/05/drilldown-dashboard-in-ssrs.html