Report parameters in MM/DD SSRS

I have a requirement where there will be two report parameters like From(MM/DD) and To(MM/DD) that will be used to compare against a month and day fields. For example, I have month and day fields stored in a table like
MM DD
01 24
05 29
When the user enters the two report parameters values as say From(01/25) and To(01/29), I need to retrieve records lies between Jan 25 to Jan 29 from the above table.
Can you kindly provide a sample way to achieve this.

Hi Sarayu,
I have tested on my local environment and you can add the filter as below to filter the data of the Month and Day field based on the two parameters.
Details information below for your reference(I assumed that the datatype of the twe parameters are Text ):
Add the filter in the dataset and in the expression input as below to combine the month and day together:
Expression (String)
=Fields!Month.Value &"/"& Fields!Day.Value
Operator: Between
Value: [@From]    [@To]
Preview you will got the result as below:
If the DataType of the two parameters are Date/Time type you can use the expression below to filter the data:
=CDate(Fields!Month.Value &"/"& Fields!Day.Value)
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support

Similar Messages

  • SSRS 2008 R2 Report parameters have default values and report not to auto run

    Hi, I am using SSRS 2008 R2 one of my requirements for a Report is all the parameters have default value and I do not want this report to auto run when users open this report. I can create a dummy hidden parameter to break the auto run for this
    report. But I am looking for solutions other than that.
    Thanks in advance..........
    Ione

    Hi lone,
    According to your description, you have a report with parameters. Now you want you report not to run automatically with your parameters default values. Right?
    In Reporting Service, if you have parameters with default values in your report, your report will always auto run with these default values. We can say these default values are used for report running initially. So for your requirement, if you really need
    to see your default value before the report running, the best workaround is set one more parameter to break the auto run like you have done. If you just want your report not to auto run, your can achieve it by removing those default values.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • SharePoint personalization & SSRS reports parameters

    i want to Use sharepoint personalization features in combination with SSRS reports to allow all users to configure their own  report parameters , is it possible ?? i tried doing it but somehow the parameters configuration is not getting saved.
    Guneet Kalra

    i want to use sharepoint report viewer webpart and want personalization such that each user can edit the webpart and save thier own report parameters , so if next time user A opens the report it opens with the attributes that A has saved earlier and for
    user B it opens with default attributes of B.
    I tried the same with personalization "Edit My webpart" of report viewer however we have to load the parameters of report every time which gives  the feeling that these are not getting saved. After changing the parameters when i open it in another browser
    the parameters are again resetted.
    Guneet Kalra

  • Issue with Multivalue report parameters optional functionality

    I am using SSRS 2012 reporting services to develop my SSRS report. I came across that I cannot have multi-value parameters as optional. In a report I have 5 parameters and 3 parameters (Invoice Type, Markupcode, Accountnum has multivalue selection so user
    can select mutltiple accountnum or codes to get data). There is no option you can choose Allow null value. I went through various forums but unable to get worked. So I created this question. I am not doing any complex functionality, its very common functionality.
    In the past I have used various reporting tools and never came across this issue. so please help here. I appreciate all your kind help. thanks.
    Regards
    Nitin

    Hi Nitin,
    As per my understanding, it seems that you want to build a multi-value parameter including the NULL value. By default, when we configure the parameter with the two options: Allow null value and Allow multiple values, we will receive an error message. To
    work around this issue, we can use the ISNULL function to change null values to blank values (''). For more details, please refer to the following steps:
    1. Modify the dataset used to retrieve data for the tablix like below:
    SELECT id, invoiceType, markupCode, AccountNum FROM table WHERE ISNULL(invoiceType, '') IN (@InvoiceType)
    2. Modify the dataset used to retrieve values for @InvoiceType like below:
    SELECT DISTINCT ISNULL(invoiceType, '') AS invoice, ISNULL(invoiceType, 'NULL') AS InvoiceDescription FROM table
    3. Modify parameter @InvoiceType, check Allow blank values ('') and Allow multiple values check boxes. Change the available values: Value field: @Invoice, Label field: InvoiceDescription.
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Reporting Services web service complex xml type report parameters

    Hi,
    I have the following xml type parameter in my request query that I use in reporting services.
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>Sales</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    I want to know how I can assign values to the accountDetails parameter from report parameters, I've tried to call it from the dataset parameter properties but it doesn't return any values. I created Parameters!accountDetails.Value on the dataset parameters
    properties and assigned it the following value: it only returns empty columns
    ="<AccountDetailDto><AccountNumber>"& Parameters!AccountNumber.Value &"</AccountNumber><AccountType>"& Parameters!AccountType.Value &"</AccountType></AccountDetailDto>"
    You're help will be highly appreciated as I've been trying to solve this for a while now

    Hi Alisa,
    Perhaps I should explain my problem clearly...
    This is my query request that I send to the webservice:
    <Query>
    <Method Name="GetPerAccountAssetAllocation" Namespace="http://tempuri.org/">
    <Parameters>
    <Parameter Name="accountDetails" Type="XML" xmlns:d4p1="thevalue" xmlns:i="thevalue">
    <DefaultValue>
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>12345</d4p1:AccountNumber>
    <d4p1:AccountType>JSE</d4p1:AccountType>
    </d4p1:AccountDetailDto>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <SoapAction>http://tempuri.org/IPortfolioManagementService/GetPerAccountAssetAllocation</SoapAction>
    <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    It works well when I run it just like this, that is without specifying any parameters in the report data dialogue window or on the dataset parameters properties, it returns the values and columns correctly.
    So my problem is, I need to find out how(xml parameter syntax, steps e.t.c)
    I can do to allow users to specify the accountDetails parameter, its quite tricky for me coz its an xml type parameter, Im not sure if I should just specify the AccountNumber and
    ReportType parameters separately:
    I've tried the following without any success:
    1. Under the dataset properties:  I tried not to specify a default value for the accountDetails parameter on the xml query, then I added a parameter called "accountDetails" under the dataset parameters properties, then under parameter
    value I added the following xml value :
    <d4p1:AccountDetailDto>
    <d4p1:AccountNumber>Parameters!AccountNumber.Value</d4p1:AccountNumber>
    <d4p1:AccountType>Parameters!AccountType.Value</d4p1:AccountType>
    </d4p1:AccountDetailDto> 
    (I also added the AccountNumber and AccountType parameters under the report data dialogue window)
    This returns empty columns, is there something I'm missing, or am I doing this incorrectly?

  • Problem with empty report parameters when passed to PL/SQL function

    Hi,
    We have come across what appears to be a bug in the JRC. When passing a report parameter to a PL/SQL function as a parameter, empty parameters are changed before being sent to the function. More specifically, an empty string "" ends up as the value "(')" in the PL/SQL function parameter. In our report we print the report parameters on the first page so we know that the parameters are OK before being passed to the database.
    The problem exists for version 12.2.203, 12.2.204 and 12.2.205 of the JRC.
    We have identified a workaround, but it is not exactly elegant: Before executing the report we modify all empty  parameters ("") to " " . In the PL/SQL function, we trim all parameters before using them.
    We call the function using a command object with a sql syntax like this example:
    select * from table (qa_batch_release.get_qa_br('{?p_report_id}','{?p_reg_set_number}','{?p_cr_number}','{?p_change_id_decode}','{?p_country_id}','{?p_mfg_item_no}','{?p_4_no}','{?p_5_no}','{?p_7_no}'))
    The PL/SQL function is a table returning function.
    Best regards, Thor

    Hi Kishore,
    using #COLUMN_VALUE# would probably not make much sense, because normally a report has multiple columns and not just the numeric column which you want to verify if it's negative. But APEX will fire the template condition for each column, because the report template is a column cell template.
    What you can do to make it more generic is to use for example
    #CHECK_AMOUNT#
    in the template and provide a not displayed column in your SQL statement which contains your value which is named CHECK_AMOUNT. For example:
    SELECT NAME
         , BALANCE
         , BALANCE AS CHECK_AMOUNT
    FROM XXX;Because this CHECK_AMOUNT column would be a generic name, you can use this template in all your reports as long as you provide this column.
    Thope that helps
    Patrick

  • Report Parameters behaving strangely

    Hello,
    I just completed my report in the designer provided with visual studio 2008, it's a relatively complex report with 6 subreports and has multiple detail sections. The parent report has one parameter which is used in a Database command. The report works nicely when previewing from the designer and only shows up one required parameters as it should. All the subreports have parameters as well but these are all linked to things on the parent report.
    The problem is when I try to execute the report from code, it ignores my parameters and proceeds to ask for multiple parameters, both including the parent parameters and all sub report parameters. If I enter these manually just to test if it works, I then get a message saying there's an error in one of the subreport's record selection formula. However I'm not sure how much I believe this as the previewing works completely fine.
    I just have no idea what is happening and why I am getting requests for so many parameters?
    Marlon

    Update ***
    I have managed to work through towards getting the report to display in the .NET app now, I needed to check the IsLinked() fucntion before assigning parameters.
    However, I have now been presented with an even more weird problem: If I switch database in code, I now get asked to enter a parameter I know is a linked one, if I do I get a message saying the record selection formula references an unknown field. But if I get the designer to change database, then get it to preview, it works flawlessly (both in the previewer and in the application). Until I change the database back to the original one, where I get the same error.
    Our application needs to be used in many client organisations with each having different connection strings / databases (all have the same schema obviously) so I need this report to run independent of what the database it was designed / compiled on.
    Here is the code I use to switch database within the application, is there anything different to the way I do it to the way the crystal report designer does it? As the designer is obviously doing something behind the scenes.
    This code has worked on the 15 or so reports I've designed so far.
                   ReportDocument cryRpt = new ReportDocument();
                    TableLogOnInfo tLI = new TableLogOnInfo();
                    ConnectionInfo cI = new ConnectionInfo();
                    Tables tables;
                    cryRpt.Load(reportPath);
                        cI.ServerName = (string)builder["Data Source"];
                        cI.DatabaseName = (string)builder["Initial Catalog"];
                        cI.UserID = (string)builder["User ID"];
                        cI.Password = (string)builder["Password"];
                        tables = cryRpt.Database.Tables;
                        foreach (Table t in tables)
                            tLI = t.LogOnInfo;
                            tLI.ConnectionInfo = cI;
                            t.ApplyLogOnInfo(tLI);

  • "Report Parameters" - only default showing / translation

    Hi,
    I did a BI Publisher with the "Analyzer for Excel" and I have 2 issues.
    1. I'm calling the report from an ApEx application with the following URL:
    .../R_Rapport_analyse_E.xdo?_xpf=&_xpt=1&Calendrier=130001&No_demande=5
    The data showed under "Report Data" are ok, but not the ones under "Report Parameters" (Calendrier and No_demande). The default ones are displayed.
    2. Is there a way to translate "Report Parameters" and "Report Data". I've tried to change them and save the template, but it's not working.
    Thanks in advance.

    Post Author: sreenivas
    CA Forum: Publishing
    your steps ok
    but do this one
    you should be able to update the universe details (tools > universe > (universe)> refresh > import etc) and then run your report to get rid of partial results...

  • CR 2008,  Universes, and report parameters....

    All,
       I would like to use a universe(s) as a data source for our crystal reports (CR 2008 - BOE 3.0/3.1).  We have an application that collects the report parameters from users and then schedules the CR report using the JAVA API.  My question is this:
      what construct do I use in the universe to represent this statement in a where clause of the report query (I assume it's one of the @ functions):
    where...
          and loc_name in '(?locNameList)'
    ?locNameList is a multi-value parameter defined in the report. 
    Any comments, pointers to onlince documentation or examples, and book references would be appreciated.
    thanks,pf

    Paul,
    Did you get any feedback on this, I am looking to do the same thing.
    Thanks,
    Ian S

  • Value sets and Report Parameters

    Hi
    these are my requirements
    i have developed report using scott where the
    parametes are
    dname
    empinfo
    (1)If i select Department 1o then
    in parameter empinfo should display the value only from department 10
    (2) i have created a value set for report parameters empinfo
    it only shows two columns like EMPNO AND eNAME AND THERE only two column space to be shows
    how could i make columns to be displayed in addition to ename and empno
    Regard

    Hi KittyCat101,
    If I understand correctly, you want to use a parameter to filter Status field that starts with “Is” or “Can” or “Fi”. If in this scenario, we can refer to the following steps to achieve your goal:
    Modify the available values for @Status parameter to “Is”, “Can” and “Fi”.
    Right-click the tablix or dataset to open the properties dialog box.
    Select Filter in the left pane, then add a filter like below to filter Status field:
    Expression: =Fields!Status.Value like (Parameters!Status.Value & "*")  Type: Boolean
    Operator: =
    Value: true
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Report parameters for pdf instance

    Hi,
    is there a way to read the parameters from a pdf report instance? I already successfully retrieved the report parameters from a CrystalReport using the IReport.getReportParamters. Is there a similar way to do this for pdf instances or Excel instances?
    Thanks in advance.

    Hello Sebastian,
    The InfoObject representing the scheduled instance to PDF should implement the IReportProcessingInfo interface, that defines the method to retrieve the params.  You should cast to IReportProcessingInfo.
    It's undocumented, but works.
    Sincerely,
    Ted Ueda

  • Report Parameters with logical database

    Hello
    I have to read some HR infotypes that are provided with the logical database PNPCE.
    Fort his i have written a report that will use my logical database and get some information.
    What i need,are some new input parameters on the screen that are added by my report:
    parameters: p_persnr type person-pernr,
                        p_name type p0002-nachn,
                        p_sname type p0002-vorna.
    The problem is that i do not know how to link these parameters to my logical database reading.
    When i try to call "get <node>" ,my report is not returning anything.
    Is there a way to send  my parameters as selection parameters to the logical database?
    thank you

    The selection screen 1000 is created dynamically during runtime. I doubt change done by SE51 will solve the issue. In fact there is some code which can help on this.
    INITIALIZATION.
    To restrict the range of PERNRs
      PERFORM z_seloption_restrict USING 'PNPPERNR'.
    *&      Form  Z_Seloption_Restrict
    * Restrict range in select option
    *      -->VALUE(SOP_NAME)  Name of select option as string
    FORM z_seloption_restrict USING value(pv_sop_name).
      IF st_restrict-opt_list_tab[] IS INITIAL.
        CLEAR st_opt_list.
        MOVE: 'EQ' TO st_opt_list-name,
              'X'  TO st_opt_list-options-eq.
        APPEND st_opt_list TO st_restrict-opt_list_tab.
      ENDIF.
      REFRESH : st_restrict-***_tab.
    *  READ TABLE st_restrict-***_tab INTO st_asst
    *                        WITH KEY name = pv_sop_name.
    *  IF sy-subrc NE 0.
      CLEAR st_asst.
      MOVE: 'S'         TO st_asst-kind,
            pv_sop_name TO st_asst-name,
            'I'         TO st_asst-sg_main,
            ' '         TO st_asst-sg_addy,
            'EQ'        TO st_asst-op_main.
      APPEND st_asst TO st_restrict-***_tab.
    *  ENDIF.
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
        EXPORTING
          restriction = st_restrict.
    ENDFORM.                    "Z_Seloption_Restrict

  • Web service report parameters

    Hi,
    just wondering is it possible to retrieve more info regarding report parameters using web service, I can only get following:
    multiValuesAllowed
    name
    values
    basically could a call register some other classes than call.setReturnClass(ReportDefinition.class) or call.setReturnClass(ParamNameValue [].class) which gives me the same info.
    The reason why I'm asking is because I'd like to be able to get:
    id / name
    data type
    label
    default value
    value set
    and so on... so I can create my own prompt page in which user could set/select desired values and then run report with those values. Is this making any sense?
    Looking at this document http://oraclebizint.wordpress.com/2007/10/25/oracle-bi-publisher-101331-web-services-first-impressions/ it looks like it is not possible, are there any workarounds.
    At the moment I'm doing this by parsing xdo and that way I can get parameters, value sets and so on, then using api I'm generating reports, but I don't like this approach...
    Any advices and help regarding this are welcome.
    Thanks in advance,
    Tomislav.

    Hi
    I hope you have already found an answer for your question, if not, please check the post Re: Getting null bytes using PublicReportService_v11.wsdl
    I've found and described an issue similar to the one you are facing.
    IHTH
    Please, let me know.
    Marco

  • How to pass the report parameters through java not by using URL

    Hello...
    I have an oracle App. Server 10g with report service
    I can the report using the URL :
    http://host:Port/rwservlet/report=....
    and passing the report parameters ...
    But is there any way to call the report by pdf format and passing the parameters from java without using the url ???

    thank you shahcsanjay for your reply
    but I think that web.showDocument can not be used by ordinary java web application ..
    I think it can be used only with with "oracle forms" Am I right ?
    If no can you please tell me where can I find a useful document about how to use web.showDocument ...
    thanks again
    Saleem

  • Information Given in Report Parameters of COPA Report

    Can any please tell what information does the Keyword "Memory Table SP" and "Screen Table B" provide which is given under the Tech Data Tab for Overview of Report Parameters? It will give some information about the data rows.What does that information mean?
    Another questions is that I am running a COPA report based on Summarization levels. The data that report is pulling in QA from the Summarization Level does not match with the data in Production for the YTD for that period. Is there some limitation of the QA system to display the data or is it some OSS thing?

    Hi,
    This community is for discussion on Oracle Business Intelligence Cloud Service. This service is currently not associated with Oracle RightNow Cloud Service.
    Thanks,
    Pravin

Maybe you are looking for

  • Get-ADUser and Get-ADPrincipalGroupMembership combined

    I'm trying to get a list of template user account and what their membership are exported to a csv file. I'm trying to combine the tables on them but having a hard time figuring it out. I spent the day racking my brain on this and figured I would reac

  • HT204407 Find my friends shows completely wrong adress every time I go to a specific place

    Every time the phone goes to a certain adress it actuall shows it at an adress 2.4 hours away, every time but never has any other problem. Phone will be in a spot in eustis florida and the find my friends app always says it's on homer road in Jackson

  • Xml Form Builder HTML Editor

    Hi All, In my xml form builder application, i have to insert an image inside the UI "HTML Editor". But there is no option called as "insert image from km" into the HTML Editor? How can i have that option called "Insert Image From KM" ? I tried "confi

  • MobileMe uplaoding pictures - problem

    Hi Having problems uploading pictures from iphone to mobileme, keep getting this message. Verify that you have addressed this messagecorrectly. Check your SMTP server settings in Mail Preferences and verify any advanced settings with your system admi

  • Why can i not watch or edit pictures in fullscreen mode?

    The only way to View them i fullscreen mode is to push the play button. Please fix this. It worked in older versions. / Jonas Hamsås