Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSRS Hide column in Row Group until Drill Down

Posted on 2014-03-26
2
Medium Priority
?
2,825 Views
Last Modified: 2014-05-11
I am using SQL Server 2012 with BIDS 2012 to create a drill down report.  The report works great but I don't want columns to be visible until the user drills down to display associated tables.  

I can  set the hidden property to true in the Properties bar for the column but have not been able to find a way to have it toggle when the user drill down.
0
Comment
Question by:canuckconsulting
2 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 total points
ID: 39974827
Unfortunately this functionality is not built in: there's no way to capture the +/- toggle click of a drilldown.

So if you really need this you'll need some inventivity.  Don't use the built-in drilldown but implement it yourself using a couple of images and a report parameter that indicates the state: visible or hidden.  This also implicates that you can't work record-by-record, it's an all or nothing thing.  You can then use that same parameter to show/hide the additional columns.

Another option could be a nested table that represents the part that you drilldown to.  You can use a different layout in that nested table which gives you more freedom on what to show.
0
 

Author Closing Comment

by:canuckconsulting
ID: 40057400
Thanks...good approach
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question