Require User Input for either dashboard prompts not BOTH ! !

Fellow Earthlings,
How to make required for user input for either of dashboard prompts not BOTH. !!!!!!
Like if they enter '123' on DashP1 they need not have to enter DashP2 value and vice versa on same dashboard prompt.
I have some dashboard prompts and I am using presentation variables to pass these values to my analysis.
DashP1 - Pvar1 - Default All columns - User can type in values
DashP2 - Pvar2 - Default All columns - User can type in values
In my report , I am using a SQL filter to do a table.column_name LIKE (concat('@Pvar1}{'%')) same for the other table.column_name LIKE (concat('@Pvar2}{'%')) [ This is because users want to do a partial match on the value.
So when the user is typing the values like 123 on DashP1 they are able to search, which is good. However on DashP2 which defaulted to all column values, they just erase/delete that and pass no value to it. So it remains the prompt vlaue is looking like -Select Value state which is not good. :(
Now when there report is run for that DashP1 -value as '123' obviously we get no results since erasing that is causing it not to pass any value and when i check the query log it passes '@Pvar2'. This is causing no results.
So I thought making it Required user input would resolve the issue, however the new request is to have either DashP1 or DashP2 require user input.
Please advice if there a way to solve this problem.
If this any way possible with Action links or any other methods.
Any help is greatly appreciated.
Thanks,
VidyaS

Hi Vidya, Please post that Script it will be quite handy for other OTN users.
Thanks
NK

Similar Messages

  • How to force sql developer to prompt for user input for every execution ?

    Hi Folks,
    Environment: Oracle 11g (on Windows 7)
    SQL Developer: *3.1.07*
    I am executing a PL/SQL code off Sql Developer. The code uses substitution variables to prompt user for input. However,I am only prompted for the user input for the very first run of the code. For the subsequent executions, the code simply picks up the user input from the very first run. This behavior persists for all subsequent runs of the code.
    I have executed the same piece of code from SQL*PLUS and the behavior seems normal (i.e. I am prompted for fresh input for every execution)
    How can flush out the old user input so I can be prompted for new user input for every run of the code in sql developer?
    Thanks in advance
    rogers42

    Hi Rogers42,
    1/try
    undefine
    undefine fred
    select '&&fred' from dual;
    [run this multiple times]
    [prompts gere]
    old:select '&&fred' from dual
    new:select 'a' from dual
    'A'
    a
    [prompts here]
    old:select '&&fred' from dual
    new:select 'b' from dual
    'B'
    b
    2/try
    exit (requires recent version of sql developer: tools->preferences->Database->worksheet->Re-initialize on script exit command)
    select '&&fred' from dual;
    exit
    run this multiple times
    [prompts here]
    old:select '&&fred' from dual
    new:select 'x' from dual
    'X'
    x
    Commit
    [prompts here]
    old:select '&&fred' from dual
    new:select 'y' from dual
    'Y'
    y
    Commit
    3/use &fred instead of &&fred
    For background see
    http://totierne.blogspot.co.uk/2010/04/substitution-and-bind-variables.html
    -Turloch
    SQLDeveloper team

  • Reversi Sample - "The project requires user input. Reload the project for more information."

    A week ago, I downloaded the sample code examples.  Then I extracted the reverse sample code, loaded it and ran it.  All was well.
    I was just using it as a resource for example code, so no code changes.  Now, when I open the project, I get nothing loaded.
    Solution explorer displays       Solution 'Reversi' (0 Projects).    Below that
    "The project requires user input.  Reload the project for more information."
    This message shows for all three sections  Reversi, ReversiGameComponet, and ReversiComponentTests.
    Ok, so I figure I must have accidently changed something.  So, I re-extract.  Same message. 
    The only thing I can think of is that in the options, I changed the startup location for my projects.  I like to keep my code projects on the d: drive, so I changed that to D:\!!!W8.  I've always done this so that when I create a new project,
    it does it in my project directory by default.  Didn't change anything else such as the templates dir.
    I did set this back to the c:....projects, as where templates are, but that didn't help.  So, I reset to my projects directory.
    My project that I created loads ok.
    Suggestions?

    A week ago, I downloaded the sample code examples.  Then I extracted the reverse sample code, loaded it and ran it.  All was well.
    I was just using it as a resource for example code, so no code changes.  Now, when I open the project, I get nothing loaded.
    Solution explorer displays       Solution 'Reversi' (0 Projects).    Below that
    "The project requires user input.  Reload the project for more information."
    This message shows for all three sections  Reversi, ReversiGameComponet, and ReversiComponentTests.
    Ok, so I figure I must have accidently changed something.  So, I re-extract.  Same message. 
    The only thing I can think of is that in the options, I changed the startup location for my projects.  I like to keep my code projects on the d: drive, so I changed that to D:\!!!W8.  I've always done this so that when I create a new project,
    it does it in my project directory by default.  Didn't change anything else such as the templates dir.
    I did set this back to the c:....projects, as where templates are, but that didn't help.  So, I reset to my projects directory.
    My project that I created loads ok.
    Suggestions?
    Hi there,
    Can you provide the link for the sample code example so I can download and try on my machine?
    Regards,

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

  • Custom "Go" Button for vertical Dashboard Prompts

    Hello All,
    I have to create single GO button for multiple prompts on dashboard.
    I am following below blogs but getting Error like "Exception OccurredReferenceError: GFPDoFilters_samvi is not defined" Or some Object Error.
    http://obieeone.com/2009/06/16/custom-go-button-for-vertical-dashboard-prompts/
    http://obiee-bi.blogspot.in/2011/04/obiee-using-single-go-button-for-all.html
    Can anybody help me.......
    Pradip

    Hi,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to {OracleBIDir}:\oraclebi\web\msgdb\l_en\messages
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>
    Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>
    Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>
    Re: how to create Global Go button
    Re: Additional GO button:
    Hope this help's
    Thanks
    Satya

  • How to capture user input for customer exit processing?

    I need to calculate the number of working days elapsed in the current fiscal quarter BASED on the USER INPUT on the reporting front.  i.e., say the fiscal quarter started on 1 July 2005 and if the user enters 10 July 2005, I should get the value 8 (Assume that Monday through Friday are all workdays).  If the user enters 12 July 2005, I should get 10.  I have written customer exits and know how to use factory calendar, but <b>THE CHALLENGE</b> is how do I <b>CAPTURE</b> the user input and use it in my exit?  During the varible definition, if I select the check box "Ready for input" then the customer exit is not being processed and unless I check that box I can't get a user entry!  If I look at the import values in the customer exit, I see i_t_var_range with type rrs0_t_var_range.  My strong feeling is that this parameter gets the user input, but I am unable to use it as the customer exit is not being called if I make the user to input the data.  Based on the empirical evidence, I felt that user input and customer exit can not co-exist!!  Please somebody prove me wrong and let me know how can I use the user input to process my "customer-exit" variable.  I would really appreciate any input from the BW community here.

    Hi Sameer,
    Most likely, I'm missing something, but I think that the answer is very simple.
    CASE I_VNAM.
    WHEN 'YOUR_CUSTOMER_EXIT_VAR'.
    IF I_STEP = 2. “ After selecting of input variable
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'USER_INPUT_VAR'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    In this typical user exit coding you have a user entered value in LOC_VAR_RANGE (originally in I_T_VAR_RANGE) and you construct your user exit variable value in E_T_RANGE.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Possible to have dynamic default selections for a dashboard prompt?

    I'm running OBIEE 11.1.1.6.5, and I have customer who would like to know if it is possible to dynamically select default values on a dashboard prompt based upon other user prompted columns on the same prompt. For example, I built a dashboard prompt with three fields: Month, Customer, and Product; and I want to add a default selection to my Products prompt to pick the "top 4 products" based on the selected Month and Customer.. assuming every Customer+Month has a different "top 4 products".
    Does anyone please have a suggestion on how I could approach this solution?

    Thank you for your response. I've tested this approach and it seems promising. My concern I have there is how to treat "(All Choices)" values. Say the user selects All Choices on customer or period, and the presentation value in my SQL Results query reverts to whatever default value specified, which is not the intended behavior. My question then becomes how do I treat the null or All Choices and somehow omit the filter criteria or specify fy All Choices as a default to the presentation variable? Your advice is much appreciated.

  • Value Based user guided Navigation Using Dashboard Prompt

    Hi all Experts,
    I have a different dashboard pages and dashboards for each year sales and so on, like 2001,2002etc in OBIEE 11.1.1.5 answers and dashboard.
    My requirement is using dashboard prompt for year need to navigate to that particular dashboard.
    for example if I select 2001 should navigate to 2001 Dashboard
    if I select 2002 should navigate to 2001 Dashboard.
    and for another report for Top 10 Products if I select a product name should navigate to detail product report.
    I am not getting idea using guided navigation link,
    Please suggest me how we can implement this task into our report.
    Thanks in advance

    Hi,
    my suggestion, don't that way..do the below things..
    1) for year wise sales report.
    keep artificial Time Dimension and try map Date column into all othe fact table and try to use time.date column in the dashboard prompt that prompt will list out all the year like (2001,2002..2020..etc) make this propmpt column should be is prompted in that Answres report --> date column
    2) let Product wise report,
    report 1 :Product Summary ( call u child report in the column properties -->Interaction--> value Primary interaction--> action link--> select bi content --select it u r report and save it run it.
    report 2 :Product Detailed (this report navigation column make sure should be is prompted )
    Thanks
    Deva

  • Can we have a Default Value for the dashboard prompt ?

    Hi
    I have a requirement as when we run the dashboard, dashboard prompt should be defaulted with a value for the first time.
    Defaulting the values is done by SQL Results,but when i try to change the values for that prompt it is not showing any other values other than the defaulted prompt.
    Ex: I have a dashboard prompt as Employee Name and i have defaulted the value for that with 'Scott' and ran the dashboard.
    When i try to run it for different employee i am not able to get other values to be selected.
    Do we have any mechanism as such we can have default value when we run the dashboard for the first time and then all the values when we run it for the second time?
    Thanks

    user12846884 wrote:
    Defaulting the values is done by SQL Results,but when i try to change the values for that prompt it is not showing any other values other than the defaulted prompt.
    ThanksYou do something wrong. What is the version of OBIEE? How do you create prompt?

  • Dashboard Prompts Not Working in OBIEE 10g

    Hi People,
    I  developed a report with two dimension column and a fact column.
    NBTY Level 1
    NBTY Level 2
    Spend Amount
    NBTY Level 1 and 2 are from dimension and Spend Amount is a fact column. Both are joined in star schema. The results are correct.
    So now i published the same report in a new dashboard, and created a new dashboard prompt on Dimension column "NBTY Level 1". I applied filter on the same column (Is Prompted) in report.But when i gave a value in Dashboard Prompt, the report is not changing. I cannot even find any trace of error displayed. When the prompt is selected and clicked on 'GO' button there is no moment in browser, it stays still. I have also permissions and everything is fine
    Can some one please help in finding the problem, its an urgent issue, what possibly could go wrong?

    Thank You for your reply.
    Yes the prompt column is from same subject area.
    I Created a Column Prompt in the report using the same column and it worked for that report. But when i used that prompt in dashboard its not applying.
    I will share a logical query for Report but How should i fing logical query for a prompt?
    The total behavior looks very strange.

  • How to validate a user input for where clause?

    I have a situation to validate a where clause which is input by the user.
    Because the query will be run against huge tables and we need to notify the user if they input the clause is not valid.
    I use the below query to try:
    Select 'A' from blablabla where user_input_where_clause and 1=0;
    however, it can not capture the error when the user input:
    'name=123' while the right condition should be name='123'.
    Can you pls advise ?

    In this particular case, Oracle will not even try to run the SQL statement because of the syntax error. IF the WHERE condition supplied does not make sense, Oracle will not execute the statement, so it does not matter if the query accesses huge tables.
    SQL> Select 'A' from blablabla where 'name=123' and 1=0 ;
    Select 'A' from blablabla where 'name=123' and 1=0
    ERROR at line 1:
    ORA-00920: invalid relational operator
    SQL>IF you have a restriction as to what type/value can user specify for the where condition (asuming it would make sense to SQL engine), you would have to do it before submitting to the database.
    Note, however, that user could specify any condition they like, having potentially damaging effects.

  • How can I terminate TestStand without requiring user input?

    I want to completely terminate TestStand and any running sequences. Engine.ShutDown seems to have a delay waiting for user input. Is there a function call that disregards this delay and immediately either kills all sequences or unloads them and kills TestStand?
    I am trying to do this in C++.

    To BMas05 -
    Yes if you set,
    Setting: "Exiting"
    Condition: "When Executing"
    Time Limit: "2"
    Action: "Terminate Execution"
    On shutdown, if an execution is running for more than 2 seconds after shutdown is initiated, TestStand will attempt to terminate the execution.
    Now if you wanted to escalate terminations that take too long you could additionally set,
    Setting: "Exiting"
    Condition: "When Terminating"
    Time Limit: "4"
    Action: "Abort Execution"
    So now on shutdown, if an execution is terminating for more than 4 seconds after termination is initiated on shutdown, TestStand will attempt to abort the execution.
    Now if you wanted to escalate aborting executions
    that take too long you could additionally set,
    Setting: "Exiting"
    Condition: "When Aborting"
    Time Limit: "6"
    Action: "Kill the Execution's Thread's"
    So now on shutdown, if an execution is aborting(typically unresponsive) for more than 6 seconds after abort is initiated, TestStand will attempt to kill the unresponsive thread.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Where clause requiring user input

    I am a complete beginner at using SQL for Oracle.
    I am using a program called Toad for Oracle to try and help;
    See I am used to using the very simple Microsoft Query to build queries.
    I am using Excel to use these queries for a bunch of reports, graphs and charts.
    However, when I try and use Microsoft Query to build these queries I get a bunch of errors. Biggest one I can't get past is ORA-00972: identifier is too long.
    Anyway, so I start trying to build my query in Toad for Oracle.
    Is there a way like there is in Microsoft Query to write the Where Clause for user input.
    Example:
    MICROSOFT QUERY sample: Where A_COMPL_SUMMARY.ENTRY_DATE>= ?)
    And (A_COMPL_SUMMARY.ENTRY_DATE<= ?)
    And (A_COMPL_SUMMARY.ENTRY_DATE>=[Date1] And A_COMPL_SUMMARY.ENTRY_DATE<=[Date2])
    Something like that.
    Basically I'm wanting at this point of the query for excel to pop up a window for user to input what dates they want
    So is there a way to do this in SQL. I can't seem to write it the "correct way". It doesn't like the ?'s or the "[ ]"'s
    Please help!!!
    Thank you,

    When I try and copy/paste the SQL that I generated in Toad into Excel's query tool, 1st it tells me it can't be represented graphically. I select OK and then it gives me the "Microsoft Query has encountered a problem and needs to close. We are sorry for the inconvenience." my only options at this point are to Debug, Send Error Report, or Don't Send.
    Maybe I'm going about this the wrong way. But I need to run this Sql in Excel so I can get the graphs and charts from the data it executes.

  • Memory works in either slot, but not both at same time?

    Hi, I've recently purchased some ram to upgrade my girlfriend's powerbook G4 15" 1.3ghz, 2x1gb chips. Before I installed it, I noticed the mac was only reporting 512meg of ram when we thought there was 1gb. Sure enough, there were actually 2x512 in there, but only 1 chip was being recognized. So, I tried the new ram anyway, to find of course that it would only recognize 1 of the 1gb chips also. In searching, of course, I've found all sorts of info on the lower slots going bad, but I've found in testing that any of the 4 chips (2 512mb and 2 1gb) will work in either slot, just not 2 chips at a time. So, both the upper & lower slots will actually function.
    When I run the hardware test on the restore cd (sorry, I'm probably using the wrong name for this. I don't have it in front of me, and I generally.. gasp.. use PC's) I get this error:
    post/0/2048 SODIMM0/J25LOWER
    Now, she did upgrade to leopard maybe 6 months ago, but other than that, no major changes.
    So, my questions would be, is this the same as the lower slot failure that everyone is having? Or is this something different? And, of course, is there anything I can do or try to fix it?
    Oh, ya, and, this machine is well out of it's warranty, so hopefully no expensive repairs are needed?

    Hi, beardo. My guess, and that's all it is, is that you have the beginnings of a classic lower RAM slot failure. I suspect, and it's only a suspicion, that lower RAM slot failures are caused by cracked solder joints, which in turn are caused by repetitive heat-related expansion and contraction of components on the logic board including the RAM sockets. My hunch, and it's only a hunch (have I qualified this post enough yet?) is that your lower slot is coming unstuck from the logic board only to the extent, so far, that when the spring-loaded slot is stressed in the particular way that having RAM modules in both slots produces, a crucial lower-slot contact is broken and the RAM in it isn't seen. When the lower slot and/or the logic board is stressed a little differently, by having a module in only one slot, the contact isn't broken. I imagine that the tolerances involved are minute: probably thousandths of an inch. I won't be surprised if the problem worsens to the point that your lower slot is completely undetected, particularly if you keep stressing the hardware by inserting and removing RAM modules in both slots, trying to find the cause. And I have nothing at all to suggest except all this guesswork and this repair option. I wish I could offer something more promising and helpful.

  • User exits for payroll PCPO0001- EXIT_RPCIPE00_002 not working

    We have activated User exit PCPO0001- EXIT_RPCIPE00_002, requirement was to set the line item text SGTXT of the subsequent Accounting document, but there seem to be no activity happening for it  (assigned breakpoints in the exit codes but transaction PCP0 does not stop at the breakpoint).
    I have created the Include program and the actviated the Exit and the Project from SMOD and I think I have followed all the necessary steps.
    Is there anything I am missing, are there any Business Transaction Events that we can use.
    Would be greatful for your reply.
    Regards

    Thanks for your reply
    We did tried to apply breakpoints on EXIT_RPCIPE00_001 but it did not stop at that also, although we haven't implemented EXIT_RPCIPE00_01's INCLUDE program does that makes any difference ?
    Is there any other way we can run our code during payrol's posting to accounting?
    Our scenartio is that we need to add some Text from the Payroll information into the subsequent Accounting Document's line Item text (SGTXT).
    Do need some answers?
    Regards

Maybe you are looking for

  • Itunes 8.02.2 does not work on my computer

    Hi, *I have a dell computer runing xp sp3 pro verison. I installed Itunes 8.02.2 then I restart my computer Itunes does not work for me at all. I have no malware or spyware on my computer. I have tried the tips on apple web site to make itunes start

  • What's with disk errors that disappear, sort of?

    1. MB started running slow. Activity monitor showed high CPU use when nothing was running. 2. Ran Disk Utility and it reported unfixable errors. Suggested wiping, reinstalling o/s and restoring from Time Machine 3. MB would then not boot. 4. Time pas

  • Sometimes when taking a pic on photobooth, then the screen dims.....reboot

    sometimes when i take a picture on photo booth it counts to 3 and then right when its supposed to take the picture the screen dims and i can't do anything and i have to hold the power button to shut it off and then restart it.

  • Applet : caught a SecurityException.  That's OK.

    I am trying to connect a Stateless Session Bean from an Applet. Do I need to add any permissions in the weblogic.policy files or to the JRE policy files used by the browser? Without providing any extra permissions anywhere, I am able to set the Initi

  • Contribute & the webdesigner's clients

    Hi here is my question , i am a web designer, i am creating a website "Aqua" for my client "Bob" in Dreamweaver, I create editable regions , templates etc... in Contribute i create a Bob user password, a contribute key access etc... to allow Bob to e