Expression In SSRS 2008

Hi...
I am stuck with expression in SSRS. am writing this in expession :
=IIF(Parameters!Month.Value = "1",  MonthName(Parameters!Month.Value + 11),
   MonthName(Parameters!Month.Value)
when i run this expression and value  =  1 (mean true) then it run properly and show result "December" 
but when value <> 1 (mean false) then it retruns error message "Error"
further if i write like this :
=IIF(Parameters!Month.Value = "1",  MonthName(Parameters!Month.Value + 11),
   MonthName(Parameters!Month.Value - 1)
both true and false return "Error"
what am doing wrong
Please help... Urgent
thanks

So you show year in a different parameter? Assuming you've parameter named Year then it would be this
=Parameters!Year.Value + (((Parameters!Month.Value-1)+11) / 12 )
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • SSRS 2008 Gauge ToolTips - expression does not work?

    Hi,
    I'm attempting to use various SSRS 2008 gauges in a report.  When I attempt to use an expression in a tooltip such as '=Sum(Fields!ID.Value)' , the tooltip does not show up.
    However if I replace that expression with a static value such as '1' it pops up.
    It seems that an expression should work?  Any reason that it would not?
    Thanks

    Hi,
    I could reproduce the scenario you posted.
    It is caused that string type is required for the
    ToolTip property of the Gauge Pointer. So, please change the expression to
    =CStr(Sum(Fields!ID.Value)).
    If you have any question, please feel free to ask.
    Thanks,
    Tony Chain
    Tony Chain [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Ssrs 2008 r2 textbox expression

    In an SSRS 2008 R2 existing report, I wouuld like a particular textbox to look like the following when there is data:
    Checking:    $57.35
    In the same textbox when there is no amount, the textbox would look like the following:
    Checking:    $0.00
    The following iif statement gets the dollar amount want to display: 
    =IIF(Fields!PaymentType.Value="Checking", sum(cdec(Fields!TransactionAmount.Value)),0)
    However I would like to know how to write an iif statement that would include the  wording
    "Checking: " with the dollar amont that needs to be displayed.
    I have tried concatentations that I can think of, but when the report runs, I get the #error in the location
    I would like to see the wording "Checking:' with the dollar amount.
    Thus can you show me an expression that would solve my problem?

    Hi,
    I think you have a field "Fields!TransactionAmount.Value" which have amount and you want to display it with word "checking" so for this you need to use IIF function as:
    =IIF(Fields!PaymentType.Value="Checking", "Checking: "+str(sum(cdec(Fields!TransactionAmount.Value))),
    "Others: "+str(sum(cdec(Fields!TransactionAmount.Value))))
    I hope this will work.
    Thanks
    Avanish
    Live life with joy and happiness! Avanish

  • Issues passing drillthrough parameters from a multi-level tablix in SSRS 2008 R2

    Hello,
    I am really struggling with trying creating a drillthrough report that starts with a matrix (tablix)  and passing those  parameters. I am using SSRS 2008 R2.
    Here's my scenario:
    I have a matrix that has mulitple levels where you can drill down. Here an example with all the levels open:  
    Active
    Term
    Leave
    Total
    128
    88
    121
    United States
    110
    80
    85
    New York
    65
    30
    57
    Manhattan
    10
    6
    9
    Buffalo
    20
    23
    4
    Albany
    35
    1
    44
    Texas
    45
    50
    28
    Dallas
    40
    30
    22
    Houston
    5
    20
    6
    France
    18
    8
    36
    Centre
    18
    8
    36
    Blois
    7
    2
    8
    Druex
    6
    1
    15
    Tours
    5
    5
    13
    I want to drillthrough to another report - Detail Report. As I understand it, I would click the 65 for New York and I would see the detail for the 65 Active people. If I click the 2 under Blois, I would see the 2 terminated people in Blois. My understanding
    for this to work, the Detail Report would need a a parameter for each of the level possibilities in the matrix that I could click: Country, State, City as well as the Status (Active, Term, Leave).
    While I understand about passing parameters, what I don't understand is how to pass the parameters if they are blank. Let's say I clicked 65 for New York, I would need to pass State = New York  Status = Active. But the remaining parameters (Country
    and City  would be null). I know Country doesn't need to be Null in this case.
    My Detail Report has the parameters defaulted to Null, but whether I put the parameters in a Filter for the dataset or in the query itself, I cannot get it to ignore the Nulls.
    As a crazy work-around (I think) I can put in the Where of the query  something along the lines of: this:
            and (a.Country in (@paramCountryCode) or NULL  in (@paramCountryCode) )
    and I would need to do that for each parameter. Usually I have to use 'ALL' instead of NULL, I'm note sure why.
    Additionally, in the Report Action of the Main Report, I need to pass those parameters for each level and their Status. I am also not clear whether or not I need to put in all the parameters on each of the levels (Country, State, City) of the matrix. And if
    I do, do I need to make the expressions an IIF statement stating whether or not they are In Scope?
    All the examples I was able to find, only showed one or maybe two parameters being passed. Doing the way I am trying, seems convoluted, error-prone and tedious. I really hope that I am wrong.
    Is there a better way to approach drilltrough reports from a matrix when there are multiple levels?
    Thank you for the help.
    ~J

    Hi Jenna_Fire,
    According to your description, you have a matrix contains total for each group on each level. Now your requirement is, when you click on any number (data field or total), it will go to the detail report which returns all the detail information of the people
    within the group scope. For example, if you click on the total of Active users in United States, it will return the detail information of Active users in New York and Texas. Right?
    In this scenario, we should set the parameter (@Country, @State, @City) allow multiple values in both main and detail report. And in Default Value (@Country, @State, @City), query out all distinct values. In the textbox which contains
    those total values, when set use these parameters to run the report, we only need to pass the parameters of parent groups. For example, if we click on the total of Active users in New York, we only need to pass Country, State, Status to detail report, and
    in the detail report, the City parameter will use all distinct values (Default Values) because we don't pass the City parameter. We have tested this case with sample data in our local environment. Here are steps and screenshots for your reference:
    1. Create parameter Country, State, City and Status in both main report and detail report. Set both Available Value and Default Value get values from query (Create a dataset for each parameter, use "select distinct [column] from [table]" as query). Set allow
    multiple values for parameter Country, State and City in both reports.
    2. In corresponding textbox, pass appropriate parameters in go to report Action.
    4. Filter data in detail report (in where clause or using filters).
    5. Save and preview. It looks like below:
    Reference:
    Using Parameters to Connect to Other Reports
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Controlling execution of subreport on main Report in ssrs 2008 R2

    Controlling execution of subreport on main Report in ssrs
    Hi,
    Am using more than 100 subreports in my main report using ssrs 2008 R2.
    And given conditional Visibility in sub reports based on the Parameter selection in main Report . But the performance is very very slow in main report.
    While selecting single sub report executes in seconds. The same report in main report executes in hours.
    According to my view,
    All the Sub reports executes and finally conditional visibility is working. Can we Control executing sub reports?
    Regards, Gayathri devi P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

    Hi,
    I think the time to render 100 report sure will be long time and the main report want to render those reports.
    So first why you do not separate those report on many reports for different purpose.
    second if this is a dashboard report you may use many matrix in the same report and the parameters passed by default or based on expression.
    I really hope if you make your report as dashboard report, many matrix many parameters render it once. As I remember I think SSRS will try to execute your
    DataSets in parallel which will reduce your waiting time.
    I hope this is helpful.
    Elmozamil Elamir
    MyBlog
    Please Mark it as Answered if it answered your question
    OR mark it as Helpful if it help you to solve your problem
    Elmozamil Elamir Hamid
    http://elmozamil.blogspot.com

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • 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

  • 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

  • SSRS 2008 Matrix grouping help

    Hi. I have a requirement to create an SSRS report with a tablix or matrix which looks like the image below. My dataset will hold the following column values: Project name, overall rag, cost rag, scope rag, headline and commentary.
    The RAG values are all colours which I will represent via a background expression. The grey columns will be static.
    The headline and commentary values are long text values and should run under the RAG columns as depicted.
    I have no idea how to group and create this in an SSRS 2008 report; please can someone let me know how I should configure this?

    We can merge cells in Data Region of tablix. Refer this link
    http://technet.microsoft.com/en-us/library/dd207131.aspx
    Moreover it is important that we know how the data looks like in Data Set. Post the sample data.
    Regards, RSingh

  • 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 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

  • Ssrs 2008 r2 using parameter values

    In an existing ssrs 2008 r2 report, I have a requirement from a user where they want to add 2 more parameters to the report. Right now there is an option where the user can choice to generate report1, report2, report3, report4, report5, report6, report7,
    report8, and/or any combination of the reports I just listed.
    This is setup by using an expression in the visibility property for each of the 8 tablixes.
    For your information, the following is an example of how to display one of the reports or not:
    =iif(InStr(join(Parameters!report.Value,","),6)>0,false,true)
    Now the user wants to be able to add the parameters of customer and inventory_item based upon if report7 and/or or report8 is selected.
    Now can you tell me the following:
    1. Would you show me the code I can use in the dataset to select report7 and/or report8?   
     2. If the above is not possible to select specific reports, then would the dataset query need to look something like: where @report is null or where @report is not null? What would you suggest?

    Hi midnight_car,
    According to your description, you have specified visibility for each tablix in a report with IIF() function. When you select 7 or 8, you want to add an additional parameter to filter displayed tablixes, right?
    In Reporting Services, since we can’t specify the visibility of a parameter as an expression, we could add a cascading parameter. When the first value is 7 or 8, then selected values from the cascading parameter can filter the displayed tablixes. Please
    refer to steps below:
    1. Sample data.
    2. Create a new dataset with the query below:
    select distinct SalesTerritoryRegion as region from dbo.DimSalesTerritory
    where SalesTerritoryRegion=
    case when 3 in (@report)or 4 in (@report)
    then SalesTerritoryRegion
    else 'NA' end
    3. Specify the parameter @region using the new dataset.
    4. Query in main dataset like below:
    select SalesTerritoryRegion as region,SalesTerritoryCountry as country,SalesTerritoryGroup as [group] from dbo.DimSalesTerritory
    where SalesTerritoryRegion= case when 3 in (@report) or 4 in (@report)
    then @region
    else
    SalesTerritoryRegion end
    4. Preview the report.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • 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 'Globals!ReportServerUrl in url

    In a SSRS 2008 R2 report, I am able to have the users open a pdf document in a new window by using the following code in the action field of a textbox property:
    ="javascript:void(window.open('http://test1.op.org/ReportServer/Pages/Resource.aspx?%2fboards%2fImages%2fHS.pdf'))".
    My goal is not to hard code the url path. I would like the url path to be dynamic based upon which report server the ssrs report is running from.
    Basically I would like to replace the
    http://test1.op.org/ReportServer with the Globals!ReportServerUrl variable that report server has a available.
    I would like to replace the above expression with the following:
    ="javascript:void(window.open('Globals!ReportServerUrl/Pages/Resource.aspx?%2fboards%2fImages%2fHS.pdf'))". However this expression does not work.
    Thus can you tell me how to use the Globals!ReportServerUrl ssrs item with the javasctript window open statement so that the expression works correctly?

    Hi Wendy,
    If we are put Globals!ReportServerUrl expression in the “”, in Reporting Services, it will recognize it as a string data. So, it cannot display as report server URL.
    Please refer to the following expression:
    = Globals!ReportServerUrl & “/Pages/Resource.aspx?%2fboards%2fImages%2fHS.pdf”
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • Converting smartforms output into PDF

    Hi ALL,   How to convert the smartforms output into PDF based form. After executing the form, it should directly  open in PDF. How to do this? Points will be awarded. Thanks and regards, vinoth.

  • Select queiry is not working

    Hi All, There is a problem that iam unable to get all condition type. geting only one record it as to fecth all condition types code is... *select Sales Document: Header Data and Item Data from vbak and vbap select avbeln aerdat aernam aauart avkorg

  • How to reorder songs in a playlist?

    itunes v7.3.2.6, running under windows 2000 on a dual p3-450. (Rock solid computer--uptime generally measured in months.) ARGH! This is so incredibly frustrating! I've got a few playlists that contain more than 100 songs. I'd like to reorder and move

  • List viewer

    Hi all, what is the difference between sap list viewer and abap list viewer?

  • Soft proofing in Lightroom vs photoshop

    PS give options in softproof - legacy macintosh gamma 1.8 - internet standard sRGB - monitor I find that printing (Epson R3000 from a brand new Lenovo all in 1) gives me very accurate "printed pics look like monitor pics" if I choose legacy macintosh