Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SSRS:  How to Toggle

Posted on 2013-12-19
7
Medium Priority
?
930 Views
Last Modified: 2013-12-20
Hello:

Attached is a SQL 2008 SSRS report.  Attached is a screenshot of how it appears when I run it.

I want a toggle plus sign to the left of the first dollar figure in the screenshot.  And, when collapsed, I only want one column to show.  When expanded, I want the other columns to show, of course.

How do I make this happen?  Whenever I try to use the toggle feature of SSRS, I seem to always get a cryptic error.  I'm surprised that the process is not as simple as it looks.

Thanks!

TBSupport
toggle.docx
POOR-RCG-PastDue-Detail-Subrepor.rdl
0
Comment
Question by:TBSupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 8

Expert Comment

by:vr6r
ID: 39729826
In your row groups section, right click "(table1_Details_Group)", select Group Properties, Visibility and set the following options:

When the report is initially run: Hide
Display can be toggled by this report item: Checked, and select "PastDue1" from dropdown

I can't really test this without your data source, but that should be all you need to do.  Attached file has these changes made already.
POOR-RCG-PastDue-Detail-Subrepor.rdl
0
 
LVL 1

Author Comment

by:TBSupport
ID: 39729888
That's close.  Attached is a new screenshot.

But, I want it collapsed to where I only see that first dollar figure.  Then, upon hitting the plus sign, I want to see the expanded data (i.e. the other columns).

Thanks, for the quick response!

TBSupport
toggle2.docx
0
 
LVL 8

Expert Comment

by:vr6r
ID: 39730271
Try this one, this should do it by moving the detail rows below the heading total.  SSRS seems to have trouble showing/hiding detail rows if they are on the same row as the parent group, even though the visibility setting is defined that way.  Again, wasn't really able to preview/test - but this should be the most direct way to get what you want.
POOR-RCG-PastDue-Detail-Subrepor.rdl
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 1

Author Comment

by:TBSupport
ID: 39730375
vr6r:

Can you send me instructions of what you did, instead?

Thanks!

TBSupport
0
 
LVL 8

Accepted Solution

by:
vr6r earned 2000 total points
ID: 39730447
Sure thing...

Just right click the "[PastDue]" cell (the 2nd column cell, not the sum column) and select "Insert Row" -> "Outside Group - Above"

That brings your detail group 1 row below the parent group, which should eliminate the conflict from hiding/showing groups mixed on a single row.
0
 
LVL 1

Author Comment

by:TBSupport
ID: 39730504
Unfortunately, when I do that, I get what is shown in the attached screenshot.

What am I doing wrong?

TBSupport
toggle3.docx
0
 
LVL 8

Expert Comment

by:vr6r
ID: 39730616
Could you send a screenshot of your design view of the report?
Also, have you tried running the last file that I attached? (just to confirm that it generates the report they way you want)

With these types of edits SSRS is very picky about the layout of the rows.  For example in the steps I mentioned before, selecting "Inside Group - Above" will behave very differently than "Outside Group - Above"
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

636 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