Report model - number of values selected in DDL param

Good afternoon,
I have created a report model that references Teradata views, and I am using this model to populate several datasets in a Report Builder report.  One dataset returns actual results, and the other datasets are used to populate available values for multivalued
parameters.
The issue I'm encountering is that some of my parameters return a large number (tens or hundreds of thousands) of selectable values.  When clicking "select all", I'm getting an error, since the concatenated list of values exceeds
the length limit.  However, since I'm working with a report model, I cannot use T-SQL workarounds such as custom "<ALL>" values/handling.  I also need to limit my result set using these values as parameters, not filters, since I want
the intensive processing handled in the DB server, not the app server.
Is there any possible way to accommodate this?  As an example, I have a large (200k+) list of products, belonging to about 7,000 brands.  I want both my product number and brand lists as multivalue parameters...I might want to run
the report for all products and all brands (returning 200k+ rows), or choose "select all" in the products list, but only pick a few brands (or vice versa).  Cascading parameters (with the first parameter limiting the next set of values)
is not an option since there are many of these parameters that have too many values for the allowed limit (i.e. even my brand list generated the error when I choose "select all" and only picked a few products).
I have searched literally dozens of forums and tech sites, all to no avail thus far.  Any assistance will be greatly appreciated...thank you!
-Chris

I have a SSRS Report with 4 multi-select parameters.
The customer has requested that they would like the drill-through to open in a new window.
I am using Java Script for that purpose.
However, there is a limit on how long a URL may be.
Is there a way in a SSRS report to limit the number of values in a multi-select parameter selected?
Thanks.
One workaround is to add a internal parameter which will count the number of selected values and will allow the navigation only if the count falls below the threshold.
For this you can use an expression like below for setting the internal parameter
Len(Join(Parameters!MultiValuedParameter.Value,","))-Replace(Join(Parameters!MultiValuedParameter.Value,","),",","")
Then use expression like below for the jump to url/report property
IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,<report url>,Nothing)
You can also add a notification textbox on top which will show a message like "Report navigation not possible due to too many values selected" and keep it hidden by default. Then based on above parameter value you can make it visible
ie make hidden property like below
IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,False,True)
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • Count the number of values selected in a Dashboard prompt

    Hi,
    I have a requirement to show the count of the number of values selected in a Dashboard prompt. How to do that?
    Thanks in advance.

    Hi,
    Please follow below steps;
    1. create a report(which will show the number of value selected)-
    Pull the dimension column in criteria on which the prompt is created, make this column as IS PROMPTED. Edit the FX and put the expresion as; Count(*)2. In report pull narrative view add your custom text like "Number of prompt selected are @1". (@1 is nothing but he count of prompt selected.)
    3. Put this report on the dashboard which has prompt.
    Mark correct/helpful if it helps.
    Regards,
    Kashi
    Edited by: K N Yadav on 28 May, 2013 2:01 AM

  • Count the number of values selected in a form

    Hello
    I need to count the number of values selected in a form.
    Here is my form dump:
    I want to count the values circled in red.
    So the number I want in this case is 5.
    Any suggestions?

    Aegis,
    Yeah, good point.  Here is a minor tweak:
    <cfset total = 0>
    <cfloop collection="#FORM#" item="field">
         <cfif field NOT IS "fieldnames">
           <cfset total += ListLen( FORM[ field ] )>
         </cfif>
    </cfloop>
    <cfoutput>
         <p>Total: #total#</p>
    </cfoutput>
    -Carl V.

  • Counting the number of values selected in a list box

    I'm trying to add a counter to a form that tells the user how many values have been selected from a list box... I tried adding a FormCalc formula to a calculate event in the "counter" field as follows:
    count(form1.#subform[0].ListBox1.rawValue)
    But for some reason it's not adding them up. It only gives me a value of 0 when none are selected, or 1 where any number of selections are made.
    Can anyone help me out?
    Thanks in advance

    Try putting this in the calculate event of your counter field:
    var num=0;
    for (var a=0;a<ListBox1.items.nodes.length;a++){
    if (ListBox1.getItemState(a))
      num++;
    this.rawValue=num;
    Exit the list box and the field will calculate.
    Kyle

  • Generate dynamic DataTable for Values selected from SelectManyListBox

    I want to generate a datatable for values selected in a selectManyListBox,
    DataTable will have three columns
    1serial number
    2.values selected from listbox
    3.inputText for entering some data
    Plz guide me how can i do this...
    Thanx in advance!

    Check http://balusc.xs4all.nl/srv/dev-jep-dat.html how to use datatables.

  • Prompt: Restriction on multiple values selection

    Hi All,
    I want to restrict number of values selection on multi value selection prompt.
    How could I achive that,Please guide.
    Thanks in advance.
    Amruta

    Amruta,
    Amr is right, however, if your requirement is that the user is to select no more than two at any time, you might try this approach:
    Use the prompt but the operator is "=" (equal) versus "in" and use two prompts connected with an "or".  If the user only wants to select one item, then they can be told to use the same value for the first prompt and second prompt (choose "lion" first, and choose "lion" second) -- because they are connected with an "or" there is no ill effect other than an inefficient "where" clause generated.
    If you are required to provide more flexibility than just two items, then you are stuck in being able to limit selections when a list is presented and you're using "in" as the operator.
    Thanks,
    John

  • Large Number of Multi-Select Parameter Values does not generate Report

    I have a SSRS Report that requires 4 multi-select parameters.
    The report is deployed on a SharePoint website with SSRS integration.
    I calculated, if the user selects 'Select All' for one specific customer, there could be at most 2700 possible parameter values among the 4 parameters.
    In some cases, when a user selects 'Select All' and clicks Apply, nothing happens.  No icon showing Processing Report.
    If a user selects 'Select All' and the total number parameter values are under 500 for a specific customer, there is an icon showing Processing Report.
    I followed the instructions at:
    http://social.msdn.microsoft.com/Forums/en-US/b02ccb5d-6019-4d63-bd6c-8baff24fffd8/sql-server-limit-on-the-number-of-multivalue-parameter-selections?forum=sqlreportingservices
    That did not help.
    Thanks in advance.

    Install the latest update of SQL Server :
    2008 SP2 : http://www.microsoft.com/en-us/download/details.aspx?id=12548
    2008 R2 SP2 : http://www.microsoft.com/en-us/download/details.aspx?id=30437
    2012 SP1 : http://www.microsoft.com/en-us/download/details.aspx?id=35579

  • Reporting: Multi-value select prompt

    Multi-value select prompt:  Need to verify if there is a limit to the number of items/size in a drop down list or if there are selected value limitations.

    Hi Rick,
    To clarify,  which type of parameters will you be using,  Dynamic or Static?   If you're using dynamic parameters (LOV's or Business Views) there is a limit on the display values,  but I am not aware of a limit on the input limit for multiple values.
    If you're using a dynamic parameter which will use an LOV or Business View the registry key value to increase can be found:
    HKLM > Software > Business Objects > Crystal Report > Database Options > LOV
    MaxRowSetRecords
    Regards,
    Wallie

  • PO reporting that can capture PO number, PO value and cost center

    Dear SAP expert and gurus,
    Would like to seek for your professional advise and consult on which report in MM that can capture the PO number, PO value and cost center.
    Kindly advise.
    Thank you
    Regards
    Leonard Tan

    ME80FN is a good report that captured the PO number and amount. However, the cost center is not being captured here. is there any suggestion?
    ME2K is not an ideal report to user cause, user requires the data to be shown in one line instead of 2 to 3 line.
    Is there any report like ME80FN can be captured PO number, PO value and Cost Center.
    Thank you
    Regards
    Leonard Tan

  • Can we generate one report tab for each of the prompt values selected in the bobj 4.0 webi report.

    can we generate one report tab which filters
    with each prompt value selected in bobj 4.0 webi report.

    Hi Shrinidhi ,
    It can be achievable with static tabs created for each LOV .But this is not recommended because , object values can change dynamically .
    It is good idea to use section on prompt object in the report .With sections great feature available is in larger report it’s easy to navigate using map. It displays the section tree.You can select the particular LOV to navigate.

  • Unable to show all fields from a table\view within a SSRS Report Model for user selection

    I recently added a new view with a simple SELECT (with 3 fields) statement to our existing Report Model DSV. I then went ahead to the report model (.smdl) file proceeded with the auto-generation of the new attributes which of course ran with no issues.
    I was seeing the three new fields as attributes. But when I went within the existing Perspective to add the newly added fields so that the users see them, one of the field is missing. It is just a VARCHAR field. What would it cause this field to not show up
    within a Perspective?
    Any help is greatly appreciated.Thanks,
    Nimesh
    NM

    Hi NM,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Inventory listing report to view item balance with the model number in R3

    Hi,
    Anyone have any ideas does R3 provide standard report to view the report with inventory listing on balance,description,model number?
    Kindly provide the t-code.

    Hi Karen,
    Check the below reports (t-code's)
    MB52, MMBE, MB5B, MB51
    If you need additional info revert.
    if helpful award points
    Regards,
    Vivek

  • Hi Experts, Crystal report mutiple value selection using checkbox in 8.81

    Hi,
    I am using Crystal report multiple value selection option using checkbox in 8.81 sap b1 pl 05.but i want default all check box value should be selected.
    How do we achieve same.
    Thanks
    Rajkumar Gupta
    Edited by: Rajkumar Gupta on Jul 11, 2011 5:45 AM

    Dear Raj,
    As per me, this can't be done in current version of SAP 8.81.
    Alternate way is use SDK
    Thanks
    Kevin

  • 160 GB stock drive...can anyone report make and model number?

    Although there may be more than one supplier to Apple of the 160 GB drive which is offered as a downgrade option, can anyone report back the make and model number of what they have received?
    Thank you,
    John

    According to this posting
    http://episteme.arstechnica.com/eve/forums/a/tpc/f/174096756/m/408003050831?r=73 6007850831#736007850831
    the person indicates that they received a Seagate 7200.9 single platter.

  • ORA-01785: ORDER BY item must be the number of a SELECT-list expression

    I have a dynamic SQL on a page. The SQL is dynamic because there are 3 LOV fields from which the user may make selections, and those field values are used in the WHERE clause. Also, the 2nd LOV field is populated with AJAX based on the 1st LOV's selection. And, the SQL joins to another table. The report has 7 sortable columns. The main table the SQL runs over has about 1,000 rows in it.
    The 2nd table has about 500 rows. (Sorry, I'm not sure what information you might need to help me, so I listed several details.)
    The application, and page, have been working flawlessly for several weeks. Then, yesterday the page was being used and the user received the "ORA-01785: ORDER BY item must be the number of a SELECT-list expression" error. The error just appeared out of the blue, so to speak. After weeks of of usage this is the first time this error has appeared. The application had not been changed, but they had been entering data into the main table and the table joined to in the SQL. The application is in production, so I can't put the application into DEBUG, etc. to see what SQL is being built.
    Anyway, I was trying to debug the page today and was doing selections and seeing what would display, then as suddenly as the page quit working it started working correctly. No code changes made, no server changes made (to my knowledge), and no data changes made.
    I'm new to both Oracle and Apex, and am not a SQL, Oracle or Apex expert. So, I am very perplexed and don't have any idea of what could be happening.
    I don't know if it's an issue with the SQL, AJAX not loading the select fields properly, a corrupted table, a server load issue, or something else all together.
    Any suggestions?
    Also, I'm not familiar with Oracle error messages. Can they be red herrings sometimes? Because, I don't programmaticly code the ORDER BY of the SQL. Apex appends that part. So, how could that aspect quit working. And, then suddenly start working.
    Sorry, but I'm extremely confused. :-) Any suggestions or help will be greatly appreciated.
    Thanks, Tony

    Hi Dan,
    Thanks for the feedback. I'm not going to be dogmatic about possible cause, but it has myself and another Oracle developer (who writes SQL and PL/SQL in his sleep) stumped. He doesn't think it's the SQL. Your suggestion was one of the first things we thought of considering the error message we got, but from Scott's reply that it could be a red herring, and after additional testing we've ruled the SQL out for now.
    I understand what you're saying, but the SQL selects all the columns (about 40 columns are selected) that are sortable columns on the report. I've sorted by all the columns by clicking on them and that aspect works without error.
    The SQL is created dynamically and is quite large. I've included below just for information purposes.
    Thanks, Tony
    = = = = = = =
    DECLARE
    q VARCHAR2 (4000);
    BEGIN
    q := 'select ';
    q := q || 'hd."ID", hd."MODEL", hd."YEAR", hd."HIN", hd."BOAT_STATUS", hd."SPECIAL_ACTIVITY", hd."PARTIAL_KIT_VALUE",
    hd.OPTION_NUMBER || '' - '' || e.DESCRIPTION OPTION_NUMBER,
    hd."OPTIONS_HOURS", hd."OPTIONS_MATERIAL", hd."STATION", hd."ACTIVITY_COMMENT", hd."BI_EQUIV_MATERIAL",
    hd."BI_EQUIV_LABOR", hd."EI_EQUIV_MATERIAL", hd."EI_EQUIV_LABOR", hd."BASE_BOAT", hd."SA_ENGINES",
    hd."SA_OPTIONS", hd."DY_STANDARD_MATERIAL", hd."DY_STANDARD_LABOR", hd."DY_STANDARD_OVERHEAD",
    hd."DY_STANDARD_ENGINE", hd."DY_ENGINE_ENGINEUP", hd."DY_ENGINE_MATERIAL", hd."DY_ENGINE_LABOR",
    hd."DY_ENGINE_OVERHEAD", hd."DY_OPTIONS_MATERIAL", hd."DY_OPTIONS_LABOR", hd."DY_OPTIONS_OVERHEAD", hd."EI_STANDARD_UNITS", hd."EI_STANDARD_MATERIAL", hd."EI_STANDARD_LABOR", hd."EI_STANDARD_OVERHEAD", hd."EI_STANDARD_ENGINE", hd."EI_ENGINE_ENGINEUP", hd."EI_ENGINE_MATERIAL", hd."EI_ENGINE_LABOR", hd."EI_ENGINE_OVERHEAD", hd."EI_OPTIONS_MATERIAL", hd."EI_OPTIONS_LABOR", hd."EI_OPTIONS_OVERHEAD",
    htmldb_item.hidden(50,hd.ID) idalias ';
    q := q || 'from "PLP_HIN_DETAIL" hd , "PLP_ENGINES" e ';
    IF
    :P10_SEARCH_MODEL IS NOT NULL
    AND :P10_SEARCH_MODEL <> '%null%'
    AND :P10_SEARCH_YEAR IS NOT NULL
    AND :P10_SEARCH_YEAR <> '%null%'
    AND :P10_SEARCH_STATUS IS NOT NULL
    AND :P10_SEARCH_STATUS <> '%null%'
    THEN
    q := q || 'WHERE
    (instr(upper(hd.MODEL),upper(nvl(:P10_SEARCH_MODEL,hd.MODEL))) > 0
    AND instr(upper(hd.YEAR),upper(nvl(:P10_SEARCH_YEAR,hd.YEAR))) > 0
    AND instr(upper(hd.BOAT_STATUS),upper(nvl(:P10_SEARCH_STATUS,hd.BOAT_STATUS))) > 0)
    AND e.OPTION_NUMBER (+) = hd.OPTION_NUMBER and e.YEAR (+) = hd.YEAR AND e.MODEL (+) = hd.MODEL AND e.PLP_ID (+) = hd.PLP_ID';
    ELSE
    IF
    :P10_SEARCH_MODEL IS NOT NULL
    OR :P10_SEARCH_YEAR IS NOT NULL
    OR :P10_SEARCH_STATUS IS NOT NULL
    THEN
    q := q || 'WHERE
    (instr(upper(hd.MODEL),upper(nvl(:P10_SEARCH_MODEL,hd.MODEL))) > 0
    AND instr(upper(hd.YEAR),upper(nvl(:P10_SEARCH_YEAR,hd.YEAR))) > 0
    or instr(upper(hd.BOAT_STATUS),upper(nvl(:P10_SEARCH_STATUS,hd.BOAT_STATUS))) > 0)
    AND e.OPTION_NUMBER (+) = hd.OPTION_NUMBER and e.YEAR (+) = hd.YEAR AND e.MODEL (+) = hd.MODEL AND e.PLP_ID (+) = hd.PLP_ID';
    else
    q := q || 'WHERE e.option_number = hd.option_number and e.year = hd.year and e.model = hd.model and e.plp_id = hd.plp_id';
    END IF;
    END IF;
    q := q || ' AND :P0_PLP_ID = hd.PLP_ID';
    return q;
    END;

Maybe you are looking for

  • Message not getting displayed on page

    Hello, I have extended a controller and after some validation, i need to display message on top of Page. Please let me know. I am not able to display the Message on top of the page; I am able to find the error entry in the log as below [23]:EXCEPTION

  • Help with images within applets

    I created a card game applet which calls images placed within the same directory. In appletviewer the game runs fine,not in browsers. I downloaded the browser plugin since i use swing classes. If I remove the image the applet loads up without the gra

  • Wifi and bluetooth function cannot switch on

    My phone cannot switch on the bluetooth and wifi function. Already try restore factory setting. Still cannot on. My phone had drop before this but that time nothing happen just crack behind.. 2 month later just suddenly the bluetooth and wifi functio

  • Archive contract without archiving scheduling agreements

    Hello Experts, I would like to archive contracts with the object MM_EKKO but not the scheduling agreements (which are also archived with this object). In the write program, there is a check : a contract can be archived if its scheduling agreement has

  • Update problem auf ios5

    Hi Versuche schon die ganze zeit Mein Iphone 4 auf das ios 5 zu updaten. Aber immer sagt itunes ab 400mb das ein fehler aufgetreten ist. woran kann es liegen???