Why Dynamic Parameter is not working, when i create report using stored procedure ?

Post Author: Shashi Kant
CA Forum: General
Hi all
Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
is not shown to me when i referesh the report for viewing the results.
I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
============================================================================================
1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
Dynamic Parameters in Action
My question is that whether dynamic parameter is working with storedprocedure or not.
When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
Please reply soon , it's urgent
Regards
shashi kant

Hi Kishore,
I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
=lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
As to the second issue, please try to use the following expression:
=Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
E-mail: [email protected]
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Date parameter does not work in SharePoint 2010 report using SQL 2008 Server Reporting Service

    Here is the settings:
    SharePoint 2010 with SQL server 2008 reporting services configured
    When create a report for a SP list using SQL server report builder (3.0) the date parameter does not work.
    The data parameter is set as "date and time" type and field name equals the col name in the SP list
    When run the report, the whatever dates I select, the result is always the same, so the parameters do not take any effect.
    Is any step missing?
    Thanks for any advice !

    Hi ,
    How did you configure you "date and time" type parameter and field name equals the col name in the SP list?
    Have you tested if other type parameter worked?
    Have you tried typing the date format as 20140722 in your date parameter filed before run the report?
    http://whitepages.unlimitedviz.com/2012/02/using-sharepoint-filters-with-reporting-services-parameters-for-personalized-reports/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • HT4993 why does my internet not work when not connected to wifi?

    why does my internet not work when not connected to wifi

    Hi farmgirl0812,
    Thanks for using Apple Support Communities.  This article has steps to try if you are unable to connect to a cellular network:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    - Ari

  • Why does the alarm not work when the iphone 4 is turned off

    why does the alarm not work when the iphone 4 for is  turned  off works fine when on most other phones work when off

    The only phone I've ever had that would turn on and sound the alarm is a Blackberry. So, I'd hardly say "most phones" have this function.

  • Why does the mail not work when i updated my 5s to iOs 8?

    why does the mail not work when i updated my 5s to iOs 8?

    Thank you for the reply. But can you tell me what this configuration is about and how I should do this?

  • Crystal Reports dynamic parameter does not work in InfoView

    Hello,
    We have developed Crystal Reports in CR2008 on top of SAP infoset and we have one of our selection parameter as dynamic parameter. It works fine in the CR Dev tool but when i upload the report in the InfoView, report does not show any value in the "Available Values"
    Any input will be much appreciated.
    Thanks.

    I did found the solution for this, i had to go into Business View Manger (BO Client Tools) and Schedule the LOV (List of Values). This is odd setting! but it works....

  • Why is my password not working when i want to update apps?

    Please tell me why my Apple ID is not working when i want to update apps?(just the purchased apps are not working).I now have an acount that dosen't have a card entered.

    For examle i have iGO primo and my password is not working (i already reset it).

  • Automatic hierarchie aggregation not working when dimension formula is used

    Hey folks,
    i'm facing the following issue. currently i'm setting up an application to plan sales quantities, prices and manufacturing costs.
    subsequently i want to calculate following values for members of account dimension:
    - turnover (price * sales)
          -> implemented as dimension formula
          -> in the account hierarchie it's a child of net revenue
          -> account type: inc
          => calculation work fine in the reports
    - manufacturing cost (manufacturing cost * sales)
          -> implemented as dimension formula
          -> in the account hierarchie it's a child of net revenue
          -> account type: exp
          => calculation work fine in the reports
    - net revenue (turnover - manufacturing cost)
          -> in the account hierarchie it's the parent of turnover, manufacturing cost
          -> account type: inc
          => key figure is empty !!
    As far as i understood BPC is aggregating automatically along the hierarchie. That means to me that net revenue should be automatically calculated due to the hierarchical relation in account dimension.
    Did anyone ever face same issue ? probably the hierachical aggregation is not working when key figures based on dimension formula is used !? Do i really have to implement script logic to solve this issue ?
    Looking forward to interesting approaches to solve this issue !
    Best regards,
    Moritz

    Hey,
    sorry my description was misleading at this point. i don't have a formula define for net revenue dimension member. i expected the system to automatically calculate it by aggregation along the account dimension hierarchy where net revenue is parent to the turnover and manufacturing costs which are calculated by dimension formula.
    Best regards,
    Moritz

  • Why does my ipad not work when powered up and screen just lights up dark blue?

    IPad Model A1219 does not respond when powered up, screen barely lights up just a dark blue screen thats it. will not do anything else, why?

    I think the subVI is working just fine when called from the main. I think what you're expecting is an indicator on the main VI to update as the subVI runs. What you will see on the main front panel is just the last value that a subVI has. That is the intended behavior of subVIs and function calls in all other languages. If you want to to update a front panel indicator while a subVI runs, pass a reference to the indicator into the subVI and update that reference instead of the indicator on the subVI. The other way is via a global variable. I've attached a modified version of your porgram.
    Attachments:
    Pass_a_Reference.vi ‏11 KB
    GL_Flicker_mod.vi ‏66 KB

  • Why iTunes Store is not working when I updated ios 7 in iPhone 4?

    iTunes Store not working bt why?

    Is you Apple ID still signed in in Settings/iTunes and App Store/Apple ID?
    Any restrictions set up in Settings/General/Restrictions? If yes, disable them.

  • Why does my .vi not work when used as a sub vi

    I have a vi that produces a picture on the front panel. Displayed in the picture are solid grey levels for testing. Two grey levels are chosen inside the vi and then the picture flickers betwen the two. When I run the vi by itself it runs wonderfully, but when I run it as a sub vi it does not work. Even when I just place the sub vi in the block diagram and connect all of the controls and indicators up it doesn't work.When I use the highlighter it shows that the control values go into the sub vi and the sub vi lights up, but there is nothing output from the sub vi to the wired indicators. When I open up the Block diagram of the original vi from which the sub vi came, and highlight it while running the subvi, it
    shows that it is working with information running to all of the indicators. If I start a new program with only the sub vi in the block diagram and all of the controls and indicators connected, should it not behave as the sub vi? I will attach the vi that I am using as a sub vi, and I welcome anyone to place it in the block diagram of a new vi, connect all of the controls and indicators up and see if it works. I know that there is something completely obviopus that I am missing, but I can't see it. Any help would be greatly appreciated.
    Attachments:
    GL_Flicker.vi ‏74 KB

    I think the subVI is working just fine when called from the main. I think what you're expecting is an indicator on the main VI to update as the subVI runs. What you will see on the main front panel is just the last value that a subVI has. That is the intended behavior of subVIs and function calls in all other languages. If you want to to update a front panel indicator while a subVI runs, pass a reference to the indicator into the subVI and update that reference instead of the indicator on the subVI. The other way is via a global variable. I've attached a modified version of your porgram.
    Attachments:
    Pass_a_Reference.vi ‏11 KB
    GL_Flicker_mod.vi ‏66 KB

  • Why does diadem intellisense not work when using scriptinclude or for global object

    I have a script with a different classes in it (scripted 1).  When I create an object of a class in the script 1 intellisense works.  Intellisense is when you type name of the object created from a class it shows all the possible variables and functions contained in that object.  But when I write another script and use scriptinclude(scripted 1) the intellisense does not work.  I also tried a global object and intesllisense does not work.  Is there a way to get intellisense to work when using scriptinclude?  I am working with version 2012. 

    Here is more information on the issue.
    I have a script with a different classes in it (scripted 1).  When I create an object of a class in the script 1 intellisense works.  Intellisense is when you type name of the object created from a class it shows all the possible variables and functions contained in that object.  But when I write another script and use scriptinclude(scripted 1) the intellisense does not work.  I also tried a global object and intesllisense does not work.  Is there a way to get intellisense to work when using scriptinclude?  I am working with version 2012. 
    'Test.vbs
    class test
        public function test1()
             msgbox("test1")
        end function
        public function test2()
             msgbox("test2")
        end function
    end class
    'now create a object of the class
    dim oTest
    set oTest=new Test
    'now when you type oTest. you get the following functions to choose from
    oTest.test1
            .test2
    Now if you remove the object from Test.vbs and create a main program with scriptinclude(Test.vbs) it will not show the two functions
    'Main.vbs
    Option Explicit  'Forces the explicit declaration of all the variables in a script.
    call scriptinclude("c:\1atmp\Test.vbs")
    dim oTest
    set oTest=new test
    'now when you type oTest. it shows none of the functions in the object oTest
    oTest.

  • Crystal Report not working when posting the report to the Crystal Server.

    Hi All,
      I created a report using Crystal Reports 2008 with two ODBC connections (User DSN's). When I run the report in Crystal Reports (where I originally created it) it runs fine with no problems.
       I am now trying to load it on Crystal Server 2008. When I try to run this report in InfoView, I get a message: "Error Failed to open the connection." I am thinking that it has to do with the ODBC connections but I am not quite sure. Could someone lead me in the right direction? How will the report that I now saved in the repository on the server connect to the ODBC stream?
       Thank you in advance.

    Solved my problem. I had to tweak the ODBC drivers on the server.

  • Dynamic record group not working when apostrophes are used

    Hi Everyone,
    I have developed a Form for the most part everything is working as expected. However, there is a search functionality that is giving me problems. The issue is that when the user enters search criteria for last_name that has an apostrophe (O'brian) the search lov doesn't get populated because the dynamic record group is not getting created when the string has an apostrophe (ie O'brian). I have a dynamic record group that takes the user's search criteria and populates an LOV on the screen with the records that matched their criteria.
    Here is the code that is behind my search button where the dynamic RG gets created. It works fine for all searches that don't contain an apostrophe. Btw, the Oracle Forms version is 10g.
    DECLARE
    p_where_debtor varchar2(2000);
    p_where_liab varchar2(2000);
    rg_id RecordGroup;
    v_query varchar2(2000) := null;
    rg_name varchar2(2000):= 'RG_LIAB_LST';
    errcode NUMBER;
    BEGIN
    IF :SEARCH.cd_nb is null and
    :SEARCH.cd_seq is null and
    :SEARCH.f_name is null and
    :SEARCH.l_name is null and
    :SEARCH.mi_name is null
    then
    display_message ('Search criteria must be entered');
    raise form_trigger_failure;
    END IF;
    v_query := 'SELECT last_name, first_name, middle_name, c_no, c_seq
    FROM TABLE_VW2 WHERE 1=1';
    /*Search criteria entered by user*/
    IF :SEARCH.l_name_srch IS NOT NULL THEN
    v_query := v_query||' AND UPPER(last_name) LIKE '''||UPPER(:SEARCH.l_name)||'%''';
    END IF;
    IF :SEARCH.f_name_srch IS NOT NULL THEN
    v_query := v_query||' AND UPPER(first_name) LIKE '''||UPPER(:SEARCH.f_name)||'%''';
    END IF;
    IF :SEARCH.mi_srch IS NOT NULL THEN
    v_query := v_query||' AND UPPER(middle_name) LIKE '''||UPPER(:SEARCH.mi_name)||'%''';
    END IF;
    IF :SEARCH.cdcs_nbr_srch IS NOT NULL THEN
    v_query := v_query||' AND UPPER(c_no) LIKE '''||UPPER(:SEARCH.cd_nb)||'%''';
    END IF;
    IF :SEARCH.cdcs_seq_srch IS NOT NULL THEN
    v_query := v_query||' AND UPPER(c_seq) LIKE '''||UPPER(:SEARCH.cd_seq)||'%''';
    END IF;
    /*Make sure record group doesn't exisit*/
    rg_id := Find_Group(rg_name);
    /*If it doesn't exist then create record group*/
    IF id_null(rg_id) THEN
    rg_id:= create_group_from_query(rg_name,v_query);
    END IF;
    IF NOT id_null (rg_id) THEN
    delete_group (rg_id);
    rg_id:= create_group_from_query(rg_name, v_query);
    END IF;
    errcode := Populate_Group(rg_id);
    Any help would be greatly appreciated.
    Thanks,
    Adrian

    For every item where an apostroph can occur, do a
    REPLACE(:BLOCK.ITEM, '''', '''''');

  • Why does this script not work when run with osascript cli?

    I wrote the following to interface with geektool to display a list of todo's on my desktop (i'm sure it's been done elsewhere, but I wanted to try it myself). I had it working fine until I tried ordering the output to place the highest priority items at the top of the list. The following code works properly during development in Script Editor, but when geektool launches the command using osascript ~/Library/Scripts/todos.scpt it only displays the initial "TODOS:" without displaying the rest of the info. Searching the Applescript Release notes, I found that some versions of Applescript 1.8 had issues with null characters when using the osascript cli, however, I'm running 1.10.7 so it shouldn't be an issue (and I'm not sure how to check for null characters in Applescript even if it were). Anybody have any ideas on what's going on here?
    set output to {"TODOS:
    set highpri to {}
    set medium to {}
    set low to {}
    set nada to {}
    tell application "iCal"
    repeat with i in calendars
    repeat with j in todos of i
    if (completion date of j as string) is equal to "" then
    if priority of j as string is equal to "high priority" then
    copy summary of j & "
    " to end of highpri
    end if
    if priority of j as string is equal to "medium priority" then
    copy summary of j & "
    " to end of medium
    end if
    if priority of j as string is equal to "low priority" then
    copy summary of j & "
    " to end of low
    end if
    if priority of j as string is equal to "no priority" then
    copy summary of j & "
    " to end of nada
    end if
    end if
    end repeat
    end repeat
    end tell
    return (output & highpri & medium & low & nada) as string

    well, i'd been pulling my hair out for quite a while with this and decided it was time to ask for help, but I thought I'd give it one last shot and found a resolution almost immediately. I figured that problem had to be caused by the way applescript was concatenating the lists, so I got rid of the lists completely and it still wouldn't work. This convinced me that it must be newline related since that was the only special character left in the string. I opened up the script in vi, but the default compiled script format is not human readable. The osascript man page indicated that it would accept both compiled and text scripts, so I gave it a try, and osascript handled the raw text file wonderfully.

Maybe you are looking for

  • I want to get NEW_PAGE  after 5th SY-TABIX in Smartform.

    Hi Experts,                 I've created Two Tables into a Folder in Single Main Window but I when execute smartform i'm getting Second Table after Finishing First Table..but i want to Get Second Table after end of 5th SY-TABIX  of First Table. and N

  • 'File type being selected by keystroke' feature gone?

    A minor thing, but still disappointing that it may be gone... In previous versions, when in the file requester, with the File Type field focused, I could type the first letter of the format I wanted (ex. J for Jpeg), and it would select it. That was

  • Sql*Loader and Conc. Mgr.

    I would like for our users to submit a request (in GL) that will run sql*loader to load a file of their choosing to an oracle table. Oracle tells me I must use their consulting arm for this kind of question. Does anyone have any ideas on how to do th

  • Enabling search using TREX

    Hi all,       I have installed NW 04 SR1 and installed KMC on it . I have also installed TREX and did the server side and client side configuration ans the TREX monitor shows that it is up and running. My question how to use this TREX engine to searc

  • Mighty Mouse and Wireless Keyboard with Final Cut Studio

    Hello, I'm looking into picking up the Mighty Mouse and the Wireless Keyboard, but I've noticed that the keyboard has some set backs. It's missing the right side. This bothers me because I use the arrows very frequently to navigate through my timelin