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
Solved

Hiding Row group column in SSRS report

Posted on 2013-05-28
6
1,228 Views
Last Modified: 2016-10-18
We have to hide/display or rearrange the row hierarchy based on the user parameter at run time in the SSRS matrix report.

For I have attached a .jpg file, in that we have 5 groups but at any time user wants to view only three groups(option will be provided to select the groups in the UI). So we have to hide
group and associated rows and columns.

In the attached image we  have selected speciality group column to hide.
SSRS.png
0
Comment
Question by:CGVAK
6 Comments
 
LVL 16

Expert Comment

by:DcpKing
ID: 39203393
In each display cell you can set the visibility - either directly or with code (the "f" button). It can depend, for example, on some value set in a parameter.

To vary the display you could have a set of "buttons" (coloured boxes or buttons clipped from a program and shown as as graphics), and their action can be coded as setting some conditions (parameter) and then calling the same report as you're looking at.

hth

Mike
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39203671
I assume the purpose of this is to hide certain levels of detail? In that case you can use the Row Groups window.

Give the following a try: click the ClinicianName item in the Row Groups to select it, then set its Hidden property to True through the Properties window.

Now render the report. You'll notice that the ClinicianName group level row is no longer shown and neither are any subgroups of it.

The Hidden property can be made dynamic by using an expression, as already mentioned by DcpKing. Which means your report can have a parameter to indicate up to which level should be shown.
0
 
LVL 1

Expert Comment

by:Prakash_Kavar
ID: 39204094
Hi,

1) Define one parameter with 5 default value (set which you want to display groups in UI)
    e.g practicalManager,PMState,Market etc..
2)In each row group properties hide show option use expression
  IIF(papameters.value="practicalManager","True","False")

so based on selected papameters value it will hide and show rows..

mark it correct if it seems to right solution for you.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:CGVAK
ID: 39204766
Yes, The purpose is to hide certain level based on the parameter.

The issues are:
   a) white space in between columns
   b) unable to change required toggled item (no expression there)
ssrs1.png
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 39206780
Did you try the method that I described?  You shouldn't be getting white space using that method.
0
 

Expert Comment

by:Pooja Arora
ID: 41848555
I think you can resolve this issue by using text boxes in the list.

1. Add a list and Add the text boxes in the detail column for all the columns you need
2. Then add a row group group by the column you want and check the option add header while creating the row group
3. in the header column add a rectangle and add the text boxes same no of columns you added in detail section
4. On the row group properties, select Page breaks between each instance and at the end of the group
5. Add the visibility condition on the detail column and header column section and you are done. Your report will rendered out nicely in excel.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

840 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