Two report parameter with or condition /either should be selected

hello,
In my ssrs report builder 3 i am creating report for sharepoint list,where i have placed 2 report parameters ,when i select only one parameter it gives error as please give value for parameter,but if checked allow blank or allow null ,i am getting all values
as report parameter is null or blank as the value of the report parameter is null or blank.
so i need to select only one parameter and if i didnt give any value in another parameter it should take all values from the list.
please help.
thanks

Hi Krishnakumar_DeV,
If we are use SharePoint list as datasource, we have two method to add dataset parameter.
Method1: Add filter in the dataset Query Designer dialog box.
In this situation, it is defied a single-value parameter in the report.
Method2: We can add a multi-values dataset parameter to filter data. Then, try to setting the default values for these parameters to work around your issue.
Reference:
http://technet.microsoft.com/en-us/library/aa337432(v=sql.105).aspx
If you have any questions, please feel free to let me know.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support

Similar Messages

  • HT201304 I want to buy new level from candy crush, but unfortunately apple required to accept terms and condition first before I can buy. But once I click yes no more option to click I agree with the condition. what should I do?

    I want to buy new level from candy crush, but unfortunately apple required to accept terms and condition first before I can buy. But once I click yes no more option to click I agree with the condition. what should I do?

    Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • SSRS report with tabular model – Create a dropdown report parameter with "None" option as the top value.

    Hello Everyone,
    I would like to create SSRS single select dropdown list parameter (it is using MDX query in dataset) with "None" option at the top. Note: this parameter is dependent parameter and getting filtered based on the selection of another parameter.
    How can I add hard-coded "None" text at the top of the parameter values? Can Union function help me to add this hard-coded value? The purpose is, when user selects None from the dropdown ignore the condition of the parameter from MDX query else
    use the selected value in query condition.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hi Ankit,
    In your scenario, you can achieve your requirement in report level other than in query. Add a Filter like:
    Expression: =IIF(Parameters!Name.Value="None",1,Fields!Name.Value)
    Operator:=
    Value: =IIF(Parameters!Name.Value="None",1,Parameters!Name.Value)
    In this case, report will ignore this parameter, and show all the records on the report when selecting “None” value. I have tested it on my local environment, the screenshots below are for you reference.
    Reference:
    Add a Filter to a Dataset (Report Builder and SSRS)
    Regards,
    Charlie Liao
    TechNet Community Support

  • Define range for a parameter with reference to Login USER in selection

    Hello Experts,
    I have a selection screen where in I can enter a customer number (defined as parameter). I need to restrict entries depending up on the user who has loged in.
    Ex: User1 customer number range 1000 to 3000
          User2 customer number range 5000 to 10000
    How to achive that?
    Thanks in advance,
    Sandhya.

    REPORT  ZSRK_064 MESSAGE-ID ZMSG.
    PARAMETERS : P_KUNNR LIKE KNA1-KUNNR.
    DATA : WA_USR01 LIKE USR01,
           L_MSGTXT(100).
    RANGES : R_KUNNR FOR KNA1-KUNNR.
    INITIALIZATION.
      IF SY-UNAME EQ 'SAPUSER'.
        R_KUNNR-SIGN = 'I'.
        R_KUNNR-OPTION = 'BT'.
        R_KUNNR-LOW = '0000001000'.
        R_KUNNR-HIGH = '0000003000'.
        APPEND R_KUNNR.
      ELSEIF SY-UNAME EQ 'KSREDDY'.
        R_KUNNR-SIGN = 'I'.
        R_KUNNR-OPTION = 'BT'.
        R_KUNNR-LOW = '0000005000'.
        R_KUNNR-HIGH = '0000010000'.
        APPEND R_KUNNR.
      ENDIF.
    AT SELECTION-SCREEN ON P_KUNNR.
      IF NOT P_KUNNR IN R_KUNNR.
        CONCATENATE 'Customer No not in range' R_KUNNR-LOW 'and' R_KUNNR-HIGH INTO L_MSGTXT
        SEPARATED BY SPACE.
        MESSAGE E999 WITH L_MSGTXT.
      ENDIF.

  • Report parameter is not populated with exact value in stacked column click throughs

    I have stacked column chart to show below opportunity data.
    Category axis: Month of created date
    Series: sales stage
    Aggregate: runningvalue of revenue on sales stage group. 
    data set has below fields.
    1. opportunity id
    2. created date
    3. revenue
    4. sales stage.
    5. Calculated field: month of created date
    I have a sub report which shows the detail information for that month when I click on Stacked column. In order to achieve this i have to pass a report parameter with month of created date(calculated field) on the click action of main report.
    This report parameter is not getting populated when i click on the respective stacked column because of which the sub report is failing.
    Any thoughts?
    1. Category: month of the created date of opportunity(this 
    1. Category: month of the created date of opportunity(this 

    Thanks Katherine for reply. 
    Creating a subreport was never an issue, the issue was when I click on the stacked column the parameter (A) as per your screenshot was not getting populated, some times it just passes a null value.
    In my report below is the sample data and in Chart
    1. Series Aggregate is on Runningvalue of Revenue set to stage scope.
    2. CAtegory group is on Month of Created date
    3. Series group is on Stage
    4. Have a report filter for Year.
    Sub report parameter: Month which is passed when  I click on the stacked column.
    Below is sample data how my data looks like.
    id
    stage
    createdon
    revenue
    1
    U
    1/1/2013
    1000
    2
    Ir
    1/2/2013
    2000
    3
    Ir
    2/2/2013
    1000
    4
    A
    2/3/2013
    5000
    5
    A
    3/3/2013
    1000
    6
    Ir
    3/3/2013
    5000
    7
    Ir
    4/3/2013
    7000
    Below is the image of actual report
    In the above screenshot When i click on Region A or Region C for Aug Column, the Month Parameter for subreport is always null. When I click on Region B , parameter is having the
    value as "Aug". 
    Let me know is there anything I am missing.

  • How to create reports servers with the same name in two nodes in Reports

    Greetings
    We are migrating Oracle Application Server 10g (9.0.4) to a better hardware infrastructure with high availability. We want to provide 2 new Oracle Application Server 10g (9.0.4) in High availability and we want to avoid modify the existing forms and reports code, but the code is looking for a specific reports server name when calling reports, but I couldn't create the same reports server name in the both oas machines, I could create the reports server in only one node. I want to create a reports server with the same name in both nodes but it is not possible. I know that there is a procedure to do that in 10.1,2 (Note 437228.1, How to Create Two Reports Servers With the Same Name in the Same Subnet) but I couldn't find the equivalent procedure in 9.0.4.
    Anybody kwows how to create a reports server with the same name in two nodes using 10g (9.0.4)
    Thanks
    Ramiro Ortiz.

    Hello.
    I applied the patch 4092150 on my oas 9.0.4.2 and I modified my rwnetwork.conf file changing the port to 14022 by following the note "How to Create Two Reports Servers With the Same Name in the Same Subnet? [ID 437228.1]" but I am facing the same error rep-56040 "server already exists in the network".
    When I run osfind command I get the following information (My reports server is senarep and I want to create it on SNMMBOGOAS10):
    osfind: Found 2 agents at port 14000
    HOST: SNMVBOGOAS10.sena.red
    HOST: SNMVBOGOAS09.sena.red
    osfind: There are no OADs running on in your domain.
    osfind: There are no Object Implementations registered with OADs.
    osfind: Following are the list of Implementations started manually.
    HOST: SNMVBOGOAS10.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep2
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep2
    HOST: SNMVBOGOAS09.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep
    Any Ideas?

  • How to use the input entered in report parameters form & use it in a field in a report parameter.

    Hi, I'am creating a new report, which is a combination of 'form_letter & tabular' style.
    I have also created a Report Parameter with 2 inputs, that is 'to_date' & 'from_date'.
    The value that will be entered in 'to_date' & 'from_date' in the parameter_form, must get displayed in the report.
    So for this, I created a field for 'to_date' & added code for it in pl/sql editor.
    code is as below:
    function F_TO_DATEFormatTrigger return boolean is
      f_to_date date;
    begin
      f_to_date := :PF_P_TO_DATE;  // ASSIGNING VALUE TO FIELD ( f_to_date) FROM INPUT OF REPORT PARAMETER (PF_P_TO_DATE) .
      return (f_to_date);
    end;
    BUT I'M GETTING ERROR " REP-0730 THE FOLLOWING BIND VARIABLE IS NOT DEFINED: PF_P_TO_DATE.
    I tried to decode the error, but I think the problem is different. (The above code works only if "PF_P_TO_DATE" was a part of query statement, that is one of the columns in database, but PF_P_TO_DATE is a parameter). So can anybody please help me with how can I take the value from parameter input & display it on the field of the report?
    Thank You.

    Hi Vijetha,
    Create a formula column and return the date you need and asign the formula column to a field in paper layout.
    here is the example query
    function CF_to_dateFormula return Date is
    begin
       return (:to_date); -------:to_date is that you get as a parameter
    end;
    Hope this will help
    Regards
    su.gi

  • Report writing with Department and Accounts in rows

    My client, BPC 10 MS, has a reporting need both Departments and Accounts being in the rows.  For example, in the photo below the first two rows are departments, the third is a group of accounts and the fourth is a department.  And then a subtotal is needed.
    I am thinking a heirarchy will help but this is accross dimensions.  Then I thought maybe copy the data to a different grouping of accounts to facilitate.
    Any ideas or suggestions.

    The report will not be static.  Here is what I did for one section of the report. And may have to do it for others as well.  Their are additional requirements that will make this a challenging one as well.
    I made two reports: One with projects in the row axis and one without.  I then used the formula in the function bar (as a local member) to summarize the data.
    What do you think?
    An additional requirement is that in one section I will need to have NET_SALES projects as ALL and the license revenue expanded.  Can this be done in one report?

  • Parsing an input parameter for the where clause or record select value

    In my limited CR experience, I've always used a command database connection so that I can write my own SQL.  However, now I have to parse a  pipe delimited parameter to get my value for the where clause, so I'm selecting several tables and joining them through the Database Expert Links tab.  All works fine, but after doing that and then parsing the parameter with the below formula in the Select Expert, I notice that there is no where clause in the SQL query, and although the report eventually displays the proper values, it runs through thousands of records first.  Here is my Select Expert - Record formula:
    StringVar array Parm1;
    Parm1 := Split({?DATA_AREA}, "|");
    {SO_ORDERS.CASE_ID} = Parm1[2]
    If I change "Parm1[2]" on the last line to a valid Case ID, then there is a where clause in the SQL and the report generates immediately. 
    It seems like the record select formula is applied AFTER all of the records (without a where clause) are searched when I use the parsed parameter value, but when I hard code a valid value, it places that into the where clause BEFORE the sql is executed.  Is there a way to get the parameter parsed first and then use that parsed value in the SQL where clause?
    Thanks.
    Bill

    Yes crystal will run the query first to get 100% data and then applies record selection condition. To increase the performance you need to pass the where condition at the command level instead of report level. So you need to create a report using add command like this
    select * from tablename where field={?Parameter}
    {?Parameter} is a command level parameter.
    Now insert this report as a subreport in another report which has no connection but has a parameter
    {?DATA_AREA} and create a formula like this in the main report
    Split({?DATA_AREA}, "|")[2]
    Now right click on the subreport and go to change subreport links and add this formula from main report and link this to sub report parameter {?Parameter} without linking any database field from the subreport.
    Now your subreport runs with the where clause to get the data.
    Regards,
    Raghavendra

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott
    CA Forum: .NET
    If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
    I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
    Support had me install SP0 for Crystal 2008 (which did not fix it).
    Any ideas?
    Any help is greatly appreciated.
    Thanks,
    Rich Elliott

    Hi Bontrager,
    Thank you for posting in MSDN forum.
    According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
    Crystal Reports 10.5 to check this issue again.
    Reference:
    http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
    In addition, since this forum is
    to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
    Crystal Reports, I suggest you can ask the issue to the
    SAP Crystal Reports website:
    http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
    as pvdg42 pervious suggestion, it will be better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TWO DATASETS  WITH TWO REPORTS IN SINGLE RTF

    Hi All,
    i want to use two datasets in BIP followed by single RTF having two different reports(DS1-Table1,DS2-Table2) we are using SQL queries for the dataset please give some suggestions how to connect two diiferent datasets with two different tables in a single RTF
    note:
    output of dataset 1 should come in table 1
    output of dataset 2 should come in table 2 and both this tables are in single rtf
    we have used Concatenate operator in BIP but its doing Union and thrwing the output in single table not in two different tables please help
    regards
    bhaskar

    Table 1
         0-1 year     Over 1year     Total
    LC               0.00
    Guarantees               0.00
    Others (specify)               0.00
    Total     0.00     0.00     0.00
    =======================================================================================
    Table 2
         0-1 year     Over 1year     Total
    Unutilized Lines of Credit               0.00
    Unutilized Overdraft Facilities               0.00
    Others (specify)               0.00
    Total     0.00     0.00     0.00
    We are using two different SQl queries for the table 1 and table 2 this two tables should appear in Single RTF
    i.e sql 1 should come only in table 1
    and sql2 should come only in table 2
    i have used Concatenate operation in BIP with multiple datasets its repeating in single table1 and i am unable to split them into two tables please help on this

  • Reporting action with a parameter

    Hi,
    I am having an issue setting up a reporting action with a parameter. The report I am trying open
    is non-cube based database report. I tried a few syntax variations for
    the parameter value such as:
    UrlEscapeFragment( [Dimension].[Attribute].CurrentMember.Name)
    UrlEscapeFragment( [Dimension].[Attribute].CurrentMember)
    UrlEscapeFragment( [Dimension].[Attribute].CurrentMember.Value)
    UrlEscapeFragment( [Dimension].[Attribute].CurrentMember.UniqueName)
    But non of them seems to work.
    The action disappears ones I set the
    parameter.
    What am I doing wrong?
    Thank,
    Sasha

    see this
    Report Navigation from SSAS
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Using member sorting and grouping with two reports sharing rows

    Hi!
    I have a problem with one report and I need some help or advise here.
    I have two dimensions with dynamic expansion in rows (PRODUCT, MATERIAL), and I use the option Member Sorting and Grouping at Member selector to obtain the total amount of PRODUCT group by PARENTH1:
    PRODUCT               MATERIAL          AMOUNT
    TOTAL PROD_A-X                                   100
    PROD_A_A             MAT1                          22
    PROD_A_B             MAT1                          50
    PROD_A_A             MAT2                          28 
    TOTAL PROD_B-X                                   120
    PROD_B_A             MAT1                          30
    PROD_B_A             MAT2                          50
    PROD_B_B             MAT2                          40
    This works fine if I only have one report, but I need to create another one sharing the row and page axis with the Default Report, when I do that the option Member Sorting and Grouping doesn't work. I really need to have two reports with shared rows and also the summation by PARENTH1, how can I do that?
    Thank you very much

    Hi!
    I have a problem with one report and I need some help or advise here.
    I have two dimensions with dynamic expansion in rows (PRODUCT, MATERIAL), and I use the option Member Sorting and Grouping at Member selector to obtain the total amount of PRODUCT group by PARENTH1:
    PRODUCT               MATERIAL          AMOUNT
    TOTAL PROD_A-X                                   100
    PROD_A_A             MAT1                          22
    PROD_A_B             MAT1                          50
    PROD_A_A             MAT2                          28 
    TOTAL PROD_B-X                                   120
    PROD_B_A             MAT1                          30
    PROD_B_A             MAT2                          50
    PROD_B_B             MAT2                          40
    This works fine if I only have one report, but I need to create another one sharing the row and page axis with the Default Report, when I do that the option Member Sorting and Grouping doesn't work. I really need to have two reports with shared rows and also the summation by PARENTH1, how can I do that?
    Thank you very much

  • I have a iPhone and iPad on one iTunes account, I have recently bought two further I touches fir the kids , should I set them up with their own apple ids and the can I transfer purchases through all devices

    I have a iPhone and iPad on one iTunes account, I have recently bought two further I touches fir the kids , should I set them up with their own apple ids and the can I transfer purchases through all devices,

    Hi jhyiesla,
    Im not sure wether I got you right or not. But my advice/s would be as follows:
    These steps help you get rid of old apps you downloaded years ago and you do not use anymore.(Also frees space on your mac after emptying the trash)
    1) go to iTunes and delete all applications in it. Make sure to move them to trash! Do not empty your trash yet. Its your backup if step 3 doesnt appear.
    2) connect both your devices(one after each other) and make a backup. !!!Dont press the Sync button, press the Back Up Now Button
    3) Then it asks you if you want to backup applications as well. Confirm. (This is how apps get transferred manually)
    4) Then Sync your devices... The first time it might be, that there are some additional apps loaded to your devices you dont want to.. delete them on your Device (not iTunes) and after that you should be good every time you sync again.
    5) now you can empty your trash on your mac.
    Further,
    - You should regularly connect your devices with iTunes to make sure they are backed up. (Even if you have activated iCloud backup, the iTunes backup is more proper i.e.. Apps)
    - If you hate scrolling through a list of apps in iTunes, you can re/install apps directly on iOS not via iTunes. I absolutely never go to the "Applications" section in iTunes. I install and delete apps directly on iOS.
    jl

  • Using report parameter in data set filter expression with an SSAS data source

    I have an SSRS report with an SSAS data source.
    Report parameters:
    Param1 - text, single select
    Param2 - text, multi-select
    Dataset:
    In Query Designer, I want to include Param1 as a filter expression so I can have "Dimension1 Begins with @Param2". I'm not sure the exact syntax to make param2 work in this.
    The point is to filter my data set on param1. If A is selected for param1, I want the data set to have the filter saying "Dimension1 begins with A"
    Anyone know how to use a report parameter in the dataset filter expression for an ssas data source?

    hi,
    try this maybe the dates you are comparing are not in the same format.
    I test data template in EBS but not with dates.
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'dd/mm/YY') and to_date(:p_to_date ,'dd/mm/YY')
    if dont works try to put values insted of your parameter like :
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'10/01/07') and to_date(:p_to_date ,'01/12/07') ... put dates where u can have some values in report...
    if dont work then try to print the values of the 2 parameters and the date of the select somwhere in ur report to see what you have in it..
    hope it helps..
    Regards Joe.

Maybe you are looking for

  • Help needed In developing project in Java

    Hi guys I am Developing a project in Java. This program test processor performance. Of system. Please tell me which packages to use and what will be basic logic required. basically Test, counter, and help will be used I think.

  • AIR for mobile does not support the full range of icons. How can we include them?

    The range of icon sizes suppoted by the <icons> attribute of the Main-app.xml seems quite limited. For example, we are getting ready to launch our app in the Amazon app store, which has a wide range of different icon sizes for their devices: https://

  • Getting Tag and value from the selected Xml element value

    Hi All, I have an xml file which i import to the Indesign CS3 .From the structure view , i drag and drop the root node on to the page. Now i select an xml value from the page. Now i need to get the element tag and value from the selected value. For e

  • When can support the AS3 swf files in the Director?

    AS3 has existed for a very long time, but Director 11 con't support it. So, I want know that when can support the AS3 swf files in the Director? Thanks.

  • Security error while removing LookUp value

    Hi Experts, I want to display my own values in User type Dropdown box on create user screen. It is mapped to lookup definition: Lookup.Users.Role. I added my custom values from the design console in this lookup but when i tried to remove the existing