Multiple values Parameter field Display

I created a Parameter field that allows multiple values.
When I put this field en the report (to display in the report the parameters selection) I only see the first value.
How Can I do to display all the values of the Parameter field that the user chose ?
Thanks,
Gabriel

If the parameter is of type string then create a formula with:
join({?Your Parameter},", ");
Display this formula instead of the parameter.  It will display all chosen values separated by a comma.

Similar Messages

  • How to pass a multiple value parameter to SQL Command?

    Hi,
    I created a SQL Command with parameter.  But, I need the parameter to be set as multiple value.  After creating the SQL Command and it's parameter under the Database Expert, I went to Field Explorer --->  Parameter Fields and found the parameter that I had created for the SQL Command.  But when I wanted to edit the parameter to make it a multiple value parameter, the multiple value option was fix grayed as single parameter and I couldn't change it to multiple parameter.  Is there any way that I can set a parameter that is attached to SQL Command as multiple value rather than single value?  Thanks.
    Cheers,
    Al

    Al,
    That's a feature that, apparently, is only available in CR 2008.  If you are using CR 2008, use this link to see how to do it.
    [https://boc.sdn.sap.com/node/19268]
    Cheers,
    Jason

  • Displaying All Values from a Multiple Value Parameter

    Hi,
    Using XI, I have a parameter field that allows the user to enter multiple values Eg. 01, 02, 13, 14.  I want to create a formula to display all the values the user has selected. 
    Is there a way to do this? 
    Thanks,
    Brian

    join({?Parameter},",")
    creates a string with the items in your parameter separated by commas

  • SSRS passing multiple values parameter

    Hi ,
    I have a multi select parameter that get values from a query in my SSRS report. The report works fine if i select a single value in drop down list. When trying to select All or select a multiple value i got an error. Any help is very much appreciated.
    thank you.
    By the way, i'm using Query type text not an stored procedure.
    Data in my @LineID parameter drop down list
    Select All
    Line1
    Line2
    Line3
    up to Line15
    I tried this approach and its not working. In dataset properties under parameter value expression, i made this approach
    =Join(parameter!Lineid.value,",") or =parameter!Lineid.value
    My Query:
    Select * from sample
    Where pt.Asuprodlineid IN (@LineID)

    1) You don't need to use JOIN in rdl pass simply "=parameter!Lineid.value". 
    2) And modify your query with below mentioned.
    select * from sample where pt.Asuprodlineid (SELECT WG.Param FROM fn_MVParam(@LineID) WG).
    It works for me.

  • [HELP] using multiple value parameter in c:import tag

    I need to pass a multi-value parameter to a included page. e.g.
    http://myhost/MyContext/dir1/page1.jsp?abc=value1&abc=value2/dir1/page1.jsp includes /dir2/page2.jsp, and would like to pass this multi-value parameter over, but change the name to xyz, some what like
    <c:import url="/dir2/page2.jsp?xyz=value1&xyz=value2"/>The problem is that the number of values is not fix number, so I have to write some logic to iterate thru its parameter values. But the <c:import> tag body allows only simple listed <c:param> tags, it doesn't allow other logic/condition/iteration.
    <!-- gives java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "Illegal child tag in "c_rt:import" tag: "c:forEach" tag at runtime -->
    <c:import url="/dir2/page2.jsp">
    <c:forEach var="xyz" items="${paramValues.abc}">
    <c:param name="xyz" value="${xyz}"/>
    </c:forEach>
    </c:import>{code}
    I also tried <c:url> tag. The good news is that it supports jsp logic in body:
    {code}<c:url var="url" value="/dir2/page2.jsp">
    <c:forEach var="xyz" items="${paramValues.abc}">
    <c:param name="xyz" value="${xyz}"/>
    </c:forEach>
    </c:url>
    <c:out value="${url}"/>{code}but it prefixes the url with the current context:
    {code}/MyContext/dir2/page2.jsp?xyz=value1&xyz=value2{code}
    Now I run into a dead end. It seems the only way out is to use <% %> scriptlet to do my own url composite, which is pretty similar to <c:url> but avoid the context part.
    Any suggestion?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    out.println("<html>");
    out.println("<head>");
    out.println("<script language=\"JavaScript\">");
    out.println("function altSubmit() {");
    out.println("document.MyForm.action = \"Second.html\";");
    out.println("document.MyForm.submit();");
    out.println("}");
    out.println("</script>");
    out.println("</head>");
    out.println("<body>");
    My personal suggestion is to use follow the MVC (Model View Control) pattern where in you can write all your "html" part in a JSP.
    Model -> Bean
    View -> JSP
    Control -> Servlet

  • ALV grid can we remove the repetation values in field & display as one .

    Dear Freinds,
                      i have developed a custom development relating to a salarly report based on the orgunit, the output is coming however i have one doubt in alv output.
    right now my internal table data having data as follows  : (iam giving only some fields)
    orgunit         orgdesc                  Empno     Empname     
    70000905        Human Resources      7056     Richard        
    70000905        Human Resources      7057     Reymond Jain       
    70000905        Human Resources      7058     Maria Gulz
    70000905        Human Resources      7061       Jacob
    now in my output i dont want to have the orgunit value 70000905 and orgdesc (human resources) shouldnt not be repeated . is there any option in ALV where we  I can use in
    the field cat ( any parameter) where i can set that we can make the orgid as one and remove the repeation.(iam using alv grid function module).
    Please help me in this regard
    Regards
    Syamla

    Hi,
         Before displaying sort ur internal table.
    refer this code.
    *&      Form  sub_display_data
          text
    FORM sub_display_data .
    *--To sort the output through material number
      DATA : lwa_sort TYPE slis_sortinfo_alv.
      DATA : lit_sort TYPE slis_t_sortinfo_alv.
    *--Pass the values to the table
      lwa_sort-fieldname = 'PERNR'.             "Field name in o/p inttable
      lwa_sort-tabname   = 'it_final2'.         "Output Internal table
      lwa_sort-spos      = '1'.                 "Sort  sequence
      lwa_sort-up        = 'X'.                 "Sort in ascending order
      lwa_sort-down      = ' '.                 "Sort in descending order
      lwa_sort-subtot    = 'X'.                 "Subtotal
      APPEND lwa_sort TO lit_sort.
    *--Pass the values to the table
      lwa_sort-fieldname = 'WORKDATE'.          "Field name in o/p inttable
      lwa_sort-tabname   = 'it_final2'.         "Output Internal table
      lwa_sort-spos      = '2'.                 "Sort  sequence
      lwa_sort-up        = 'X'.                 "Sort in ascending order
      lwa_sort-down      = ' '.                 "Sort in descending order
      lwa_sort-subtot    = ' '.                 "Subtotal
      APPEND lwa_sort TO lit_sort.
    *--Pass the values to the table
      lwa_sort-fieldname = 'WEKLY'.             "Field name in o/p inttable
      lwa_sort-tabname   = 'it_final2'.         "Output Internal table
      lwa_sort-spos      = '3'.                 "Sort  sequence
      lwa_sort-up        = 'X'.                 "Sort in ascending order
      lwa_sort-down      = ' '.                 "Sort in descending order
      lwa_sort-subtot    = ' '.                 "Subtotal
      APPEND lwa_sort TO lit_sort.
      wa_layout-colwidth_optimize = 'X'.
      IF NOT it_final2[] IS INITIAL.
    *--Call the function module to display the ALV report
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            is_layout          = wa_layout
            i_callback_program = v_repid
            it_fieldcat        = it_fieldcat1[]
            i_default          = c_chk
            i_save             = c_save
            it_sort            = lit_sort
          TABLES
            t_outtab           = it_final2
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ELSE.
    *--Message No data found
        MESSAGE i888 WITH text-017.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " sub_display_data
    Regards,
    Prashant

  • Set default value Parameter field Formula

    Hi ,
    I have parameter and I have a formula for it to make it optional select as below  :
    if {?Location} = 'z' then
    {Command.tc_name} = {Command.tc_name}
    else {Command.tc_name} = {?Location}
    AND
    if {?Location STatus} = 'z' then
    {Command.tc_status} = {Command.tc_status}
    else {Command.tc_status} = {?Location STatus}
    so when nothing is choosen when u refres the report, all records are brought from the db.
    But when I choose status as 'active ' and dont choose anything in the location , it still brings all the 500 recrds from the db.
    Should it not bring just the 'and' of active and locations? or am I missing something here.
    Any help is very mch appreciated.
    thanks

    Sorry I got it working, When I put each formula in a separate brackets it works perfectly fine!
      (  if {?Location} = 'z' then
         {Command.tc_name} = {Command.tc_name}
          else {Command.tc_name} = {?Location}  )
    AND
    (   if {?Location STatus} = 'z' then
        {Command.tc_status} = {Command.tc_status}
        else {Command.tc_status} = {?Location STatus} )

  • Multiple values in a user record field and Address Book

    Hi
    I'm working out a method of importing multiple users into an LDAP directory on OS X 10.4.4, and I've hit an interesting snag.
    When you export a user from Workgroup Manager, any fields in the user record that contain multiple values (multiple email addresses, work phone numbers, etc) contain their values separated by commas. For example:
    username::::[email protected],[email protected]:::
    However, when I view that LDAP entry in a networked Address Book, it only displays the first value, not the second or subsequent values. I've changed the Address Book template to specify multiple emails/phone numbers, but that doesn't do it.
    If I create my own import file, and pull it into Workgroup Manager, they import correctly into the user record, so I don't think I'm doing anything wrong on the server side.
    Does anyone know how to make Address Book display all the values?
    Thanks
    Matt

    if i'm not remembering read stuff wrong, these fileds have quite alot of limitations. and i think multiple values per field is such a limitation.

  • SQL Command code for multiple value string parameter

    Hi,
    I'm using crystal 2008 and there is a check box for multiple value  SQL Command  I need some help in writing the SQL Command code  for oracle (or sql server) for a multiple value STRING  parameter.
    Thanks in advance,
    Marilyn

    I could be wrong here, but I do not believe you can pass a multiple valued parameter to an SQL Command data source.  How I have gotten around this in the past is to put the "real" report into a subreport.  In the main report, create a formula field (basic syntax):
    formula = join({?parameter}, "|")
    Then, use this to pass the selected values to the subreport's parameter (call it {?sr-parm}).  The SQL Command in the subreport can then use that (MS SQL):
    select *
    from table
    where charindex(table.field, '{?sr-parm}') > 0
    HTH,
    Carl

  • Set default value for parameter fields

    Good day!
    Situation:
    1. I have 2 parameter fields in reports (dateFrom and dateTo)
    2. Before running report in ASP.NET I change value this fields (dateTo = today, dateFrom = today - 3 days)
    3.I use for this source:
    foreach (ParameterField crParam in CrystalReportSource1.ReportDocument.ParameterFields)
                            CrystalDecisions.Web.Parameter crParametr = new CrystalDecisions.Web.Parameter();
                            string ParametrName = crParam.Name;
                            crParametr.Name = ParametrName;
                              crParametr.DefaultValue = ActionReportParameter.GetParametrValue(ReportName, ParametrName);
                             CrystalReportSource1.Report.Parameters.Add(crParametr);
    4. And repurt run without request value parameter fields.
    5. BUT!!! now I need request value parameter fields before report start running - I want set default values for filelds and offer user change its before report start run.
    How do this?
    Thanks

    I believe you need to create your own parameter promt screen. Capture what the user entered and pass that to the report(?).
    slv

  • Search help multiple values selection problem

    Hello Friends,
    I am using FM f4_if_int_table_value_request FM to display multiple values on selection screen
    in AT-selection-screen on value request event.
    Multiple values are getting displayed perfectly .
    Then after that I am using DYNP_VALUES_UPDATE FM to return the values back to screen.
    But the problem is in the select-option field . It only picks the last value selected.
    I have a row:
    I EQ 'last value selected from F4 help screen''.
    Is there a way to update multiple rows in the select option selection screen field.
    Thanks.

    Hi Suhas,
    you may try the following:
    TABLES spfli.
    SELECT-OPTIONS: s_carrid FOR spfli-carrid.
    SELECTION-SCREEN: PUSHBUTTON /1(20) but1 USER-COMMAND carr.
    INITIALIZATION.
      but1 = 'Choose CARRID(s)'.
    AT SELECTION-SCREEN.
      CASE sy-ucomm.
        WHEN 'CARR'.
          TYPES: t_return_tab  TYPE ddshretval.
          TYPES: BEGIN OF ty_line,
            carrid   TYPE spfli-carrid,
            carrname TYPE scarr-carrname,
          END OF ty_line.
          DATA: it_list TYPE STANDARD TABLE OF ty_line,
                wa_return_tab TYPE t_return_tab,
                i_return_tab TYPE STANDARD TABLE OF t_return_tab,
                v_repid TYPE sy-repid,
                v_dynnr TYPE sy-dynnr.
          v_repid = sy-repid.
          v_dynnr = sy-dynnr.
          SELECT carrid carrname
          FROM scarr
          INTO TABLE it_list.
          IF sy-subrc = 0.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                retfield        = 'CARRID'
                dynpprog        = v_repid
                dynpnr          = v_dynnr
    *        dynprofield     = 'S_CARRID-LOW'
                value_org       = 'S'
                multiple_choice = 'X'
              TABLES
                value_tab       = it_list
                return_tab      = i_return_tab
              EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
            IF sy-subrc = 0.
              s_carrid-sign = 'I'.
              s_carrid-option = 'EQ'.
              LOOP AT i_return_tab INTO wa_return_tab.
                s_carrid-low = wa_return_tab-fieldval.
                APPEND s_carrid.
              ENDLOOP.
              READ TABLE s_carrid INDEX 1.
            ENDIF.
          ENDIF.
      ENDCASE.
    What I have done is:
    - not linking the result of the F4 search to field S_CARRID-LOW
    - inserting this F4 search into event AT SELECTION SCREEN. This allows to see the select-options filled when its contents are actually populated.
    I hope this helps. Kind regards,
    Alvaro

  • SSRS 2012 - Multiple values for filtering (shown while editing in Report Builder) disappear in Report Manager view

    Hi,
    I have a multiple value parameter, with four specified default values (integers). When opening my report in Edit mode in the Report
    Builder, and then pressing "run", I can see the default parameters in the upper section on the screen, and they are acting fine on the report. However, when opening the report from the Report
    Manager (by double clicking it from there), the default values have disappeared and I have to fill them in manually. However, the values are not 100% forgotten, because when opening the "manage" section using the drop down
    menu in the Report Manager, my default values are there, shown in the list.
    Did I do something wrong? Is this a bug? What can I do to solve this?
    Nb.:
    I'm using SSRS 2012
    Dataset created by the query "select parameterID from table group by parameterID"
    The full set of parameters are collected by using the above dataset as input for "get values from a query" in "available values"
    The default values are set by using the option "specify values" in "default values"
    Hope one of you can help me out here!
    Sietske
    Nb.: For the time being I'm now using a hard coded workaround by adding "where parameterID ='4' or parameterID = '15'" to my select query.  

    Hi Sietske,
    According to your description, there are several suggestions for your reference:
    Based on the workaround query that “where parameterID ='4' or parameterID = '15'”, it seems that the parameterID and parameter is a string type field. So please make sure the default value of the parameter is Text data type, like below:
    When you go to the Parameters tab after clicking the Manage option over the drop-down list, please enable ‘Has Default’ checkbox, and make sure the values in the ‘Default Value’ drop-down list are correct, then click Apply option.
    If the report works well when you open the report in Report Builder, please click Save or (Ctrl+S) button to save the report to report server.
    If there are any other questions, please feel free to ask.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Set width of Parameter field

    I have run a report on web with input parameter populated by LOV. It works fine but when some of the LOV data is very long, say, 300 characters long, then the parameter field displayed is adnormally wide on web browser and looks very ugly.
    Can anyone tell me how to set the display width of the parameter field? (the report is developed by Oracle 9i and is saved in .rdf format)

    Hi Chinnaiya & Sharath,
    DATA lv_50 TYPE i VALUE 50.
    data : lv_mhits type ref to data.
      create data lv_mhits type I .
    append initial line to lt_params assigning <fs_params>.
      <fs_params>-m_id = 'P_MXHITS'.
      <fs_params>-m_WITHIN_BLOCK = 'B1'.
      <fs_params>-m_value = lv_mhits.
      <fs_params>-m_description = lv_text207.
    *add to the selection screen.
    wd_this->m_handler->ADD_PARAMETER_FIELDS( EXPORTING IT_FIELDS = lt_params )
    get reference of lv_50 into lv_mhits.  "this has value '50'.
    *set default value
      wd_this->m_handler->SET_VALUE_OF_PARAMETER_FIELD( EXPORTING
                                                        I_ID = 'P_MXHITS'
                                                        I_VALUE = lv_mhits ).
    That is the code I wrote. Do you see any issues with it?
    Thanks,
    krishna.

  • Multi value parameter is not working

    Hello There,
    I have been facing below issue and tried to find work around but no luck. Before I explain what issue is let me mention my report. I have a simple report developed in SQL 2K12 SP1 with one multiple value parameter and a text box. I have given an action on
    text box where I am calling the same report by passing one of the possible value to multiple value parameter. Now issue is when I am trying to select another value(s) from multiple value parameter and click on view report it does not keeping the selected value
    in parameter. It keeps on holding the same value which was passed on text box click action. Surprisingly this is working fine in SQL 2K8. Please let me know if need more information on the issue and let me know solution on this asap. I am not sure whether
    this is bug in SQL 2K12.
    Regards,
    Bhushan

    Hi Bhushan,
    After testing the issue in my local SQL 2012 SP1 environment, I can reproduce it. And I also test the same scenario in my SQL 2008R2 environment, it works very well.
    If you have any concern about this, please submit a feedback at
    https://connect.microsoft.com/SQLServer/Feedback. 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.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Multi value parameter issue.

    We are facing some issue in SSRS report, whilst running SSRS report  it shows as blank in the multi value parameter field when the <all> option is selected(character will be more than 20000). (Report server: MS windows server 2003 and 32 bit(GIRMSA3),
    server: MS windows server 2008 and 64 bit)
    Same is working in the  SSRS Server and Citrix servers both  are 32 bit , MS windows server 2003.
    1. What is the Maximum Number of Values allowed in a SSRS 2008 Text Parameter Dropdown ? Is it configurable  ?
    2. What is the Maximum of Length of Select Values in a Text Parameter Dropdown in SSRS 2005 ? Is it configurable  ?
    Thanks
    Vijay
    Thanks Rai

    Hi  Vijay,
    This is because of the following patch
    “MS11-100 .Net Framework Security Update (KB 2656355)”. Applying this update limits the maximum number of form keys, files and JSON members to 1000 in a request.
    Go to the reporting services installation folder.
    Go to the report server folder and make a backup of the file “Web.config”. Once you have the backup, open the original file in notepad and add the following entry under the Configuration section:
       <appSettings>
                   <add key="aspnet:MaxHttpCollectionKeys" value="30000"/>
       </appSettings>
    Go to the Report Manager folder and again make a backup of the file “Web.config”. Once you have the backup, open the original file in notepad and add the following entry under the appSettings tag:
    < add key="aspnet:MaxHttpCollectionKeys" value="10000"/>
    Once you do the above steps, you should be able to run the report without any issue.
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Installed New Hard Drive and moved iPhoto library manually to new HD

    I dragged my old iphoto library to new hd but when i opened it up i have a ton of duplicate photos and events dont seem to be in order?  Any help with restoring iphoto events to their old self is greatly appreciated!

  • TCP RESET - CISCO IPS 4240 in IDS Mode - Block Teamviewer

    I would like to block teamviewer in my network. we are using CISCO IPS 4240 in IDS Mode. I found that there are signatures for teamviewer in latest Signatures. We have only configured promiscuous interface, I read that we can issue TCP resets thru pr

  • Policy Agent 2.2 /SJSAS 9.1 EE: security works sporadically

    Hi, Ive been having some trouble getting SSO working between my Sun Portal Server 7.1/Access Manager 7.1 running on my Solaris x86 machine and the Sun Application Server 9.1 EE with a Sun AM Policy Agent 2.2 on it. I'm deploying an Java EE app that u

  • Auto create final assembly orders

    when autocreate final assembly order is run for configured item its creating work order for parent assembly only. its not creating work order for sub assemblies involved in that parent assembly. even after setting in BOM parameters, create lower leve

  • Unable to open windows

    unable to open windows and powerpoint