SSRS 2008 Hide (+)/ (-) sign for collapse/ expand

Hi everyone,
I have report based on a cube and I have 5 level hierarchy which is expandable/ collapsable. However in the resultset there is data like:
hier1                                      
hier1 hier2                   
hier1 hier2 hier3 hier4    
etc.
This is causing the report to expand empty hierarchy name line and in this case I would like to hide the expand/ collapse sign. I have played around with toggle before and I can make a certain level expanded or collapsed - I can not hide the sign (+/-).
Any help on this will be very much appreciated
Thank you in advance,
Mari

Hi Maria,
I wrote a solution for hide the (+)/ (-) sign if the group has no children data in Reporting Services 2005, and it also available for 2008. Create an additional column next to the group header, set toggled item to be the cell in new column not the group header. After that, hide the additional column conditional =iif(Fields!details.Value is nothing,true,false)”. In this way, if there is no children data, you cannot see the additional column then you cannot expand the details.
For more information, see:
http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/563e6d9e-c824-4719-933e-37306a3b652f
Hope this helps.
Raymond

Similar Messages

  • SSRS 2008 - hide chart lines based on parameter selected

    How to control visibility of chart lines based on Params selected by user?
    By default, my report display last 3 years worth of data (including current) with Month on the x axis and Counts on the y axis. I have two Boolean parameters:
    TwoYrs? T/F
    ThreeYrs? T/F
    if False is selected for TwoYr and ThreeYr parameters then I want to hide chart lines corresponding to last year and the year before.
    What I've tried: Created 3 Series groups with filters. eg. YearSeries1 to return only current year data and applying an expression to display it if params TwoYrs and ThreeYrs = False. and so on for YearSeries2 to return current + last
    years data if param TwoYrs is True and ThreeYrs = False.  But I don't see where to add expression to control the display of the individual series groups.  I am open to any way of doing this, but this seemed most logical.

    Hi Ok-Hee,
    In your Source Query just need to filter the series data based on the Parameters.
    I have written sample query below:-
    select * from
    select 1 monthnumber , 'Jan' MonthName, 2013 year,100 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2014 year ,200 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2015 year , 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2013 year, 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2014 year, 350 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2015 year,200 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2013 year, 380 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2014 year, 100 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2015 year, 500 amount
    )t
    where year in (
    select distinct FilterYear from
    select case when @TwoYrs=1 then year(getdate())-1 else year(getdate()) end FilterYear
    union
    select case when @TwoYrs=1 and @ThreeYrs =1 then year(getdate())-2 else year(getdate()) end FilterYear
    union
    select year(getdate()) FilterYear
    ) t
    I have created one post in my blog , you can check the result.
    https://msbitips.wordpress.com/2015/03/12/ssrs-2008-hide-chart-lines-based-on-parameter-selected/
    Thanks
    Prasad

  • Dynamic hide unhide row ( collapse expandable)

    Hi,
    I've tried the DHTML solution* to expand/collapse rows, but for the "hidden" part, when the "+" is clicked, only part of the data is visible. I have to pass over the data with the mouse to see them. Any idea why?
    *http://blogs.oracle.com/xmlpublisher/entry/show_it_no_hide_it_no_show_it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    That is way too much unformatted code to even pretend to look at.
    1) Make a small example program that shows the offending behavior
    2) Post the code in between code tags (you know, that code button you see in the message editor)
    From the question it also looks like this isn't a JSP question, since you said you could replicate the issue in static HTML, which makes this the wrong place to ask. Perhaps some HTML/CSS forum can help you.

  • Hide a TextBox for CSV extract in SSRS 2008

    Hi,
            I have a requirement to hide a textbox in the csv extract of SSRS report built on 2008. I understand it is easily achievable in 2008 R2 with the help of globals!, but I have to unfortunately achieve it in SSRS 2008.
    Any expert advice.

    Hi MTiwari,
    As far as I know, it have no approach to work around the issue.
    In SSRS version before 2008R2, if we want to hide text box when we export to CSV, we have to hide this item in report design. In this situation, this item also would be hide in other render format.
    If possible, I recommend you update your SSRS 2008 to SSRS 2008r2.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Ssrs 2008 'select all' option to be selected for a parameter

    In a new ssrs 2008 report, the problem is all reports are not selected from the parameter called 'report' when the report runs automatically.  When the report executes, there is nothing displayed in the parameter selection  dropdown box. The user
    has to click the down arrow to select which reports they want to execute.
    Here is the siutation for the ssrs 2008 report:
    In a new SSRS 2008 report, I want to be able to allow the user to select which report they  would like to see generated by selecting the report name from a dropdown list. This is a multi-valued parameter and the parameter name is called 'report'. I
    would like the default value to be for all 5 reports to be selected.
    All 5 reports will be on the 'main' report. There will be no subreports. Each report will have its own unique matrix and the matrix will be visibile based upon what is selected in the parameter called 'report'.
    My question is how can I make the 'default' value for the parameter called 'report' have all the reports selected?
     Normally to get all multivalued parameter values selected you create a dataset and run a query against a table. However in this case, there is no table to query. The user just selects what report(s) they want executed.
    Here is the code that is used:
    1.Right-click the multiple parameter ‘repot’ to open the Properties dialog box.
    2.Specify the values below in the Available values:
     Label: report1                                                
    Value: report1
     Label: report2                                                
    Value: report2
     Label: report3                                                
    Value: report3
     Label: report4                                                
    Value: report4
     Label: report5                                                
    Value: report5
    3.Specify the values below as the Default Values:
     report1   report2   report3   report4   report5
    4.Right-click the ‘report1’ to open the Tablix Properties dialog box.
    5.Select Visibility in the left pane, type the expression below in the “Show or hide based on an expression” textbox:
     =iif(InStr(join(Parameters!report.Value,","),"report1")>0,false,true)
    6.Use the expressions below to control the visibility of the ‘report2’, ‘report3’, ‘report4’, ’report5’:
     =iif(InStr(join(Parameters!report.Value,","),"report2")>0,false,true)
     =iif(InStr(join(Parameters!report.Value,","),"report3")>0,false,true)
     =iif(InStr(join(Parameters!report.Value,","),"report4")>0,false,true)
     =iif(InStr(join(Parameters!report.Value,","),"report5")>0,false,true)
    Thus can you tell me how all values from the 'report' parameter can be selected automatically  when the ssrs report is executed?

    Pass default value as below and see
    =Split("Report1,Report2,Report3,Report4,Report5",",")
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Ssrs 2008 r2 tablix is displaying when visibility is set to hide

    In an SSRS 2008 r2 report, I have an existing report that if the grade level is from 01 to 03, one tablix is displayed. If the grade level > 03, the other tablix is displayed.
    Now in the tablix for grade levels 01 through 03, I have placed several rectangles onto the tablix for better control of some new textboxes. I have set the property of some of the new textboxes so can not grow and can not shrink. I have not yet placed rectangles
    onto the tablix for grade levels > 03.
    Currently when I run the report for grade level 04, the tablix for grade levels 01 to 03 does not display. However there is a blank space on the SSRS report where grade levels 01 to 03 would display.
    The tablix for grade level 04 does display.
    Thus can you tell me what what to check on so the blank space for where tablix for grades 01 to 03 does not display when I want to generate the report for grade 04?

    Hi wendy,
    Based on my research, if we directly hide a tablix, it would only hide the data but the tablix frame is remained. If we hide the tablix with expression, it would be hidden completely. This is by design. In your scenario, it seems that the tablix hide with
    expression. So I guess maybe you are using a rectangle contain the tablix, and there are other items in the rectangle. Or there are some space between the tablix and the later items, so there are some blank space on the report when run the report for grade
    level 04.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click here. 
    Katherine Xiong
    TechNet Community Support

  • Ssrs 2008 r2 use parameters for sorting purposes

    In an ssrs 2008 r2 report, I have a report where a user wants to sort a report based upon the following parameters:
       1. lastName,
       2. firstName, 
       3. studentNumber,
       4. [School Name].
    The above is the default order of how the user wants to be able to sort the report.
    The following is the definition and the columns that are to appear in the report:
             studentNumber varchar(15)
     ,lastName varchar(40)
     ,firstName varchar(35)
     ,[School Name]  varchar(40)
     ,[School of Assignment] CHAR(3)
     ,grade varchar(4)
     , Description varchar(50)
     ,[Beginning Date] smalldatetime
    The above columns are all contained in one tablix.
    The user wants to be able to sort the report by changing the parameters that I just listed
    above.
    Thus can you show me code and/or point me to a url that would show me how to allow the user to sort
    the report in any order based upon the 4 parameters listed above?

    The interactive sort is not what the user wants. The user wants to be able to change the default sort order by using a sort parameter value.
    I know that the tablix and the detail rows of a report have a sort option. I want to be able to connect, the sort parameter values with the tablix sort. I have seen on the internet where each sort parameter value can be represented with a number value.
    I don't  care what is easier, I want to do what the user is requesting. Thus can you show me code on how to accomplish this goal?
    Ok. I just gave you a better option
    If you still want it to be based on parameters you can add one more parameter to your report called SortBy with values of your fields. Then inside sor expresson for your tablix use an expression like
    =Fields(Parameters!SortOrder.Value).Value
    and it will automtically sort based on field you choose from parameter
    Only thing you need to make sure is that values given for SortBy parameter combo should be exactly same as your field names used in your report dataset.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Not being asked for credentials in SSRS 2008 R2 for Firefox and Safari

    I have an instance of SSRS 2008 that is currently working on all browsers (the URL is something like reports.foo/reports).
    I spun up a new instance of SSRS and placed it on the url report01.foo/reports.  This new instance is connected to a different domain (I am spining up a Active Directory Domain and trying to build out our infrastructure, so the logins are different). 
    I am able to access the new URL (report01.foo/reports) from IE and Chrome.  It is asking for the username/password and able to get on just fine.
    However, when I try to go to the new URL (report01.foo/reports) using Safari and Firefox, it never asks for credentials and shows a blank page.  This does not happen for the old URL (reports.foo/reports), only the new URL.
    Any ideas?

    Hi Ben,
    Per my understanding that you have configured windows authentication and which by default will not prompt for credential. So I assumed you have changed the User Authentication setting in the security setting to pop up for credential, for example like below(IE),
    If so, your issue about the pop up credetial not pop up in Firefox and Safari can be caused by the related security setting, If you give Anonymous User rights, you may got the blank page:
    Details information about similar issue in threads below for your reference:
    how to change reporting service site seurity setting?
    SSRS in firefox not asking for credentials
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • SSRS 2008 R2 - Column Headers of a tablix visible while scrolling - Then the column headers not visible on 2nd page onwards for PDF EXPORT. it's vice versa. Hence it is possible to provide both at same time ?

    Hi,
    I am using SSRS 2008 R2.
    I have two TABLIX in a report.  One is TABLIX with row/clumn grouping. 2nd one is flat view.
    Here each tablix is dispaly it's data on single page for each.
    My Requirement on First TABLIX is:
         1. I have to make column headers visible on scrolling down
         2. Export to PDF - column headers must be visible on all the pdf pages  for same tablix data.
    But ... either one is achieved at my end.
    so ... any suggestions please to achieve both at same time.
    thank you in advance.
    best regards,
    venkat.

    Hi G.V.Naidu,
    According to your description, the first tablix is matrix to use display data.
    In SSRS, if we want to fix matrix header visible while scrolling and repeat header columns on each page, we can select the corresponding option to enable this function. Please refer to the steps below:
    1. Right click tablix, and select Tablix Properties.
    2. Select “Keep header visible while scrolling” and “Repeat header rows on each page” to enable these function.
    If we are use table to display data, please refer to the article about Repeat Header / Keep Header Visible in Tables.
    http://blogs.msdn.com/b/robertbruckner/archive/2008/10/13/repeat-header-and-visible-fixed-header-table.aspx
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Prompting for UserName and Password when I click Report Server Web Service URLs in ssrs 2008 R2

    Hi All,
                 I am using SQL Server Reporting services 2008 R2 . When I tried to open report server webservice URL in SSRS 2008 R2 It is prompting username and password. I tried to resolve the issue by deleting the <!--
    <RSWindowsNegotiate/> --> line in rsreportserver.config but still I am getting the same prompt
    and i tried by putting the server URL in trusted sites in IE also still no luck. I referred the below link 'http://blogs.msdn.com/b/lukaszp/archive/2008/03/26/solving-the-reporting-services-login-issue-in-the-february-ctp-of-sql-server-2008.aspx'
    I am getting the same error.
    Can anyone help me out to resolve this issue easily.
    Thanks
    Dathy

    Hi Dathy,
    Generally, this is a very common issue in Reporting Services 2008 R2, the blog you post is a good blog that summary the common solutions. If it doesn’t help, could you please try the following:
    Open Internet Explorer, go to Tools and click on Internet Options.
    Under the Security tab, click on Trusted sites and click the Sites button and Add Report Manager/Report Server URL to the trusted sites.
    Then click Custom Level, and check the option Automatic logon with current user name and password.
    Repeat step 3 and step 4 for Local Intranet.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Globals!RenderFormat alternative for SSRS 2008

    In SSRS 2008 R2 there is Globals!RenderFormat variable that can be used to control appearance when exporting to different formats.
    Is there something similar in SSRS 2008? Specifically I am interested in conditional TextDecoration (I would like it to be Underline when report is viewed in the browser (clickable report bookmark) or None if exported to PDF)

    Hi,
    According to your description, you want to set conditional TextDecoration when export report to different formats.
    In Reporting Services 2008, we don't have Render Format Name Built-In Field to recognize the render formats. Then we can use parameter with conditional expression to control the visibility of underline. For more details, please refer to the following steps
    to achieve your goal:
    Create a parameter, in the Name and Prompt text box, type Type.
    Click Available Values, and add available values: Default, Pdf.
    Click Default Values, and add the default value: Default.
    In Text Box Properties dialog box, click Font, in the Effects Expression text box, type the following expression:
    =IIf(Parameters!Type.Value="Default","Underline","Default")
    Then we can select a type to control its appearance before exporting the report.
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • SSRS 2008 R2 Column Graph, Scalar Axis, Columns Take more than 1 Category

    In SSRS 2008 R2, I have created a stacked column graph with two data columns, using a scalar axis with dates.  If I have two columns next to one another, everything is rendered fine.  If all of my columns have space between them, then the columns
    will take more than just the day that they fit.
    Here is a pastebin
    with a simplified report that exhibits the issue.
    When I render the chart, this is what it looks like.
    Whereas, I would expect something like this.

    Hi clcrutch,
    After testing the issue in my own environment, I can reproduce it. Just as you said, if there are two columns next to each other, then all the columns will be displayed on their own location; if all the columns in the chart exist space between each other, then
    they will expand as wide as possible until there is no place to display all columns. This is by design.
    Besides, if in the second scenario, we can manually add one record in the dataset, and then hide the additional record in the chart to work around this issue. For more details, please see:
    Add one new record with adjacent date of MyDate field and unique value of MyStackedValue field in the dataset as below:
    INSERT INTO #Temp (ID, MyDate, MyStackedValue)
    VALUES (100, '11/24/2013', 1000)
    Right-click the series to open the Series Properties dialog box, select Visibility in the left pane.
    Using the expression below to control the series Visibility:
    =iif(Fields!MyStackedValue.Value="1000",true,false)
    If you have any other questions, please feel free to ask.
    Regards,
    Katherine Xiong  
    Katherine Xiong
    TechNet Community Support

  • SSRS 2008 R2 - Missing Data when Exporting to Excel or CSV (Row Count is 500)

    Hey Folks,
    When exporting SSRS 2008 R2 report  to an csv or excel file not all the rows are being exported. Any suggestions on why this is occurring. The number of rows is less then 500 and it seems to be a pretty straight forward export. Any help is
    greatly appreciated.  Inherited this and not sure if this would be configuration issues or something else. It is happening on a number of reports.
    Thanks.

    Hi Humbly,
    According to your description, when you export report into CSV or Excel format, some rows are missing.
    In your scenario, since you are missing data “rows” in your exported file, we are guessing if you have any visibility setting like toggle which hide those records. It’s possible that you have set toggle or visibility in your report. After exporting
    Excel/CSV, some data might not appear properly. In SSRS 2008 R2, it has reported this kind of issue about data missing after exporting. However, those scenarios are not exactly same as your issue. It mostly turns out be conflict between data and “layout render”
    and related to DataElementOutput property. DataElementOutput property controls export behavior, it indicates which report item data should appear in Excel/CSV render. For more information, please refer to this article: Reporting Services:
    Why aren’t all my report columns exporting to CSV and/or XML?.
    As we tested in our environment(SSRS 2008 R2), no matter what we export into CSV or Excel, we get same results as in BIDS . So I would like to know your report design structure. If possible, please provide some screenshots about results in BIDS and Excel/CSV
    render extension results. It may help us find out the root cause of your issue. Thank you.
    Best regards,
    Qiuyun Yu

  • Ssrs 2008 r2 parameters

    In an existing SSRS 2008 R2 report, I need to add some extra parameters to several reports that call subreports. There will be times when the parameters may be empty. The visibility of specific columns and report headers will determine if the column or report
    header will be displayed. If the parameter(s) are empty, null, do not contain anything, I want those columns and report headerts to not display.
     Can you show me the code that will test to see if a parameter value is null?

    this was your requirement
    If the parameter(s) are empty, null, do not contain anything, I want those columns and report headerts to not display
    What I was suggesting was to use the following expression for the Hidden property of the columns which you want to hide
    when parameter has null of '' as value
    IIF(Len(Parameters!parameterName.Value) =0,True,False)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Ssrs 2008 r2 csv export

    In an existing ssrs 2008 r2 report, I have a question about the csv export.
    When the report was originally written, I only expected the users to export the data to excel.
    Basically the issue is, based on the states where the customers exist. If the customers exists on the east coast, I version of the report is displayed. If the users exist in the Midwest, another version of the report is displayed. if the users exist on the
    west coast a third version of the report is displayed.
    However now if the users want to export the data to csv (comma delimited), all 3 versions are appearing in the csv file.
    I do know that when I hide a tablix, that does not export the data to a csv file. However when I pick the option to show or hide a tablix based upon the expression, the tablix is exported to a csv file.
    Is there a way to export the columns and data that actually apply to the particular customer. I do not want all the data columns for east coast, Midwest, and west coast to appear on the csv export?
    If there is a way to not display the extra data columns and rows, can you tell me how to accomplish this goal? Showing me code and/or a url would also be helpful.

    Hi Wendy,
    When exporting a report to CSV format in Reporting Services, the visibility of a report item/object is only controlled by the Property DataElementOutput. If the DataElementOutput property of a report item is set to Auto or Output, it will be exported to
    the CSV file, otherwise, the report item won’t be exported to CSV. Currently, the DataElementOutput property is hard-coded which doesn’t allow us to set the property based on an expression. In this way, it is impossible for different users to have different
    exported CSV files in your scenario.
    Here, I would suggest you submitting a wish at
    https://connect.microsoft.com/sql.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

Maybe you are looking for

  • Can't Play Songs I Purchased

    Hi guys, A long time ago I purchased songs on iTunes with an old Apple ID. Then I bought a new computer, transferred the songs I purchased and I was able to play them (I don't know what I did because I already had my new apple ID at this time). I rec

  • Reading from a mapped drive

    Hello,    I am reading a file from a mapped network drive and displaying the contents of the file immediately after I have written the file to the mapped network drive. I am doing this to verify to the user that if they are able to view the contents

  • MOSS 2007 - Sort People Picker by Display Name, Not Login

    I've been looking for a way to sort the people picker based on the user's Display Name. I've found some great articles on setting the People Picker scope (thanks, by the way), but nothing about the sorting. Any point in the right direction would be g

  • Dual uplinks with single 5400 and single 6509 (with multiple interface cards)

    I have a single 5400 with two gige ports and a single 6509 with dual gige line cards. What would be the best method for running them with dual connections in case an interface or line card goes bad? Thanks in advance.

  • Class interaction

    I'm a bit stuck: How would I go about transferring Strings from an ActionListener class to another class and using those Strings as instance variables to create an object in the class I am transferring to. It's a bit complicated to understand, but he