Prompt default

Experts,
I have a scenario as below.
There are 3 pages in a dashboard with each page having its prompt. Each of the 3 prompts is having SSN(edit box) as its common column. When the user clicks on this dashboard, the SSN for the first page should default to say 'XXX'. I am able to do this. Now, when the user clicks on 3rd page, the SSN is still set to XXX. If he clears XXX, and presses Go, all the SSNs are returned. Now, if he clicks on 2nd page, all the SSNs are returned. I want that when he clicks on second page, SSN should again be set to XXX. That means whenver he clicks on any page, SSN should be set to XXX.
Can it be achieved.
thx,
parag

Okay, if you have Edit prompts and want 3 completely independent prompts, try this:
1) For the first prompt, click on the fx button and type CASE WHEN 1=0 THEN tablename.columname ELSE 'test' END.
2) Set the default to the specific value that you want and save it to a presentation variable, say pv_SSN1
3) In your report that uses this prompt, set the filter equal to pv_SSN1 instead of "Is Prompted."
Repeat for the other prompts except as follows:
For the second prompt, set the CASE statement to 'test1' and for the third prompt, set the CASE statement to 'test2'.
Name the second and third PVs, pv_SSN2 and pv_SSN2, respectively. Set the filters to your report as appropriate.
You can keep the label to each prompt the same so everything would be invisible to the end user.
This will essentially make each prompt independent of each other. Try it. Hope that solves your issue.

Similar Messages

  • Multi select prompt defaulting to only 256 values

    Hello All,
    The requirement we have is to have the prompt defaulted it to be picking all the values in the prompt. The prompt has about 700 values. But it's only defaulting to 256 values. Is there a way to increase this. I am on obiee 11.1.1.6.10.
    I have tried using the <MaxDropDownValues>256</MaxDropDownValues> in instanceconfig.xml. but that's off now use. Is there a seperate parameter that would control the values in multi select prompt?
    Kindly help out.
    Regards,
    Deep

    Hello Deep,
    Check this
    Srinivasan Software Solutions Pvt.Ltd.: [OBIEE 11g] Customizing Prompts 'ALL Column Values' To Custom Value
    Thanks,
    Sasi Nagireddy..

  • Unable to set presentation variable to prompt default.

    i am tying to apply prompt default value as some presentation variable.
    as i want to set depending on the value selected by Same prompt.please help me.
    or else help me to write sql statement with presentation variable(of other prompt) to set default.
    Edited by: user12078402 on Oct 28, 2009 5:21 PM

    Okay, I just tried something that works, but it's a workaround that may or may not work for you depending on the number of values in the column.
    Anyway, try this:
    1) Create your first prompt and save it to a presentation variable (PV), say prompt1
    2) Use the same column and create another dashboard prompt. In this one however, change the "Show" to "SQL Results."
    3) Now after the SQL in the window, add WHERE tablename.columnname IN ('@{prompt1}', 'value1','value2', etc...)
    Here is the drawback, you have to list the values explicitly (unless someone knows a better way), but this will default the second prompt to the first prompt's selected value while allowing the user the choices of the rest of the column.
    Not the prettiest solution, but it does work...

  • Using Presentation variables in Prompt Default using SQL Results.

    I have set a presentation variable in a prompt(say 1st prompt). In the 2nd prompt, using default option, when I try to reference this variable in SQL Results, I get this error.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <@>: Syntax error [nQSError: 26012] . (HY000)
    The syntax used for SQL is:
    SELECT <tab>.<col1> FROM <subject area> WHERE <tab>.<col2> = @{variables.myvar}
    Note: However the same SQL works fine in SHOW option.
    Thanks in advance..
    Edited by: user457687 on Feb 27, 2009 3:13 PM
    Edited by: user457687 on Feb 27, 2009 4:49 PM

    - OK. In the second prompt, instead of setting Default to SQL Results, set it to Specific Value.
    - Then insert '{pres_var}' in the window. I got it to work this way.
    - It supplied the PV as the default in the second prompt after hitting "Go" on the first prompt.
    Hi, thanks for your suggestion but I don't need to have the value of the presentation variable itself as the prompt default. The variable is a filter for a specific SQL clause and the default is the result of this SQL.
    Cheers
    DrPlexi

  • A Date prompt defaulting the data in Report based on selection

    Gurus,
    I have a requirement , where i have a (in between) date prompt set in the dashboard current defulting to Start Month date and End Month date of current month.
    What the user want is based on the selection using a drop down in dashboard which has got values Last Day, Last week, Last Month , the default values in Date filter should change in dashboard.
    For Eg. If the user select Last Week, the in between date filter show the default date value as Last Week Mon and Last Sun, and should filter out the report based on that.
    Any idea's are welcome....
    Thanks & Regards
    -Saurabh

    Try to see if you can get user to agree on something easier.
    Here are the steps to achieve what you want.
    1. Create a prompt for 1 day, 2 week, and 3 month
    2. Create three separate reports based on above selection, which has page prompt for day/week/month respectively.
    3. Create GN based on step in 1 and then let UI change between three reports you created in step 2
    I hope this helps,
    Best luck

  • Multi-Select Prompt default prompt should display 'All Choices'

    If a multi-select prompt doesn't have a value, it shows as blank, which
    technically means "%" ie. all values. Is it possible to display the text 'All Choices' so that users understand that the reports are based on all values of that blank prompt field.
    Please suggest,
    Thanks.

    If we enter the text 'All Choices' as the default to in the prompt then this value is checked against the other values for this column in the table. Eg: - If we want Name to be the multi-select prompt. There is no match for 'All Choices' in the database table and the report does not return any rows. We need a functionality similar to the one available for drop-down list control. For drop-down control OBIEE by default offers the option 'All Choices' which in the query is used as %. In drop down we can only select one name at a time or All. The user needs to have the flexibility to either select multiple names or select an option All Choices which will return all results.
    Any suggestions on this.
    Thanks.

  • Multi Select Prompt DEFAULT VALUE

    Hi, i have following problem:
    I have two multiselect prompt Country with all Countries and Day with values from 1 to 31. When i load dashboard page, the first and second prompt are empty. First and second prompt have as default value "Report Default". But, when i load the page, the real value of first prompt is ALL Values, in fact report shows all Countries, indeed the second prompt has as default value 1. In fact i see day 1 for all countries. Because two prompts have the different behaviour? How can i set as default value of the second prompt All Choices as the first?
    Thanks
    Giancarlo

    how did you resolve it..?

  • Prompt Default Value based in drilled result

    I am navigating(drill using action link) from an analysis to a dashboard where I have a prompt for currency. I want this to be initialized to a dynamic default value based on the column values.
    Master Analysis
    Country
    valid currency
    Drill
    India
    C1
    Link1
    India
    C2
    Link2
    China
    C4
    Link3
    India
    C3
    Link4
    China
    C5
    Link5
    Child Dashboard Prompt after clicking Drill (if i click any link against india)
    Header 1
    Header 2
    Currency
    C1
    Bla bla
    Child Dashboard Prompt after clicking Drill (if i click any link against China)
    Header 1
    Header 2
    Currency
    C4
    Bla bla
    Is there any way to achieve this in OBIEE 11g?

    Hi,
    If you are using the same presentation column (same TableName.ColumnName) in your analysis and in the prompt, then the values would be passed when you click on the link. If thats not the case, you can have a look at the below post:
    Navigate from report to dashboard and pass values between different column
    Thanks
    Hyder

  • Have prompt default to the current month?

    One of my prompts displays a list of months; e.g., Jan, Feb, ... Dec. The user selects the month they want to report on. I need the prompt to default to the current month. Is this possible within Web Intelligence?

    What is your data source for your webi report?
    If you are using a universe, you can default the value by following these steps:
    Select default date as today in WEBI
    However if you are using BW then follow the steps in this blog
    Dynamic default values with prompt in webi reports (based on bex queries) in BO
    Regards,
    Josh

  • How can we change Prompt  default values based on other prompts....

    Hi Experts,
    I have a prompt Status --> DAILY,WEEKLY and MONTHLY.
    If user selects any one of this value the default value in another prompt Startdate and Enddateshould change,Here Startdate and Enddate is Editbox/calander control.
    Declared the presentation variable in first prompt and in the second prompt of SQL Results(Default to) i am writing
    +SELECT CASE WHEN '@{Pres}='WEEKLY' THEN VALUEOF(VAR_WEEKLY) END+
    but in the default one it was not showing the Repository variable value...
    Please suggest me any solution its an urgent
    thanks,
    saichand.v

    Hi Saichand,
    Are you getting an error ("Error Generating Drop Down Values")? Or are you just seeing a blank default value?
    If you are getting an error, do you have any presentation columns in your default SQL formula? If not, that's your problem. OBIEE won't let you construct a logical SQL query without having a presentation column in it somewhere.
    If this is your issue, try the following: SELECT CASE WHEN 1=0 THEN <PRESENTATION_COLUMN> WHEN '@{Pres}'='WEEKLY' THEN VALUEOF(VAR_WEEKLY) END FROM <SUBJECT_AREA>
    Be sure to replace SUBJECT_AREA and PRESENTATION_COLUMN with appropriate names. The condition 1=0 will never evaluate to true, so it's as if it's not there, but OBIEE will see that there's a presentation column in the formula and stop giving you the error.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • Prompt default values

    Hi guru's i have following prompt
    region: 'all column values'
    year : ' all column values'
    month: 'all column values'
    week: 'all column values'
    Instead of 'all column values' i want to display the for region prompt : ' all region values'
    Regards
    Bethamsetty
    Edited by: 961992 on Mar 12, 2013 5:14 AM
    Edited by: 961992 on Mar 12, 2013 5:20 AM

    Could you re-phrase your question.
    Or provide an example of what you are looking for .?

  • Parameters prompts& default

    Hello all,
    Have 2 questions regarding parameter fields:
    (1) Regarding static parameter: Is it possible to import field values directly from the DB?
        After I select <Action>-->"Append all DB values" nothing is added to value field?
    (2) I have applied following condition in the query command
    BR.STATUS_NAME in {?P_BR_STATUS}
    . The parameter {?P_BR_STATUS} was defined as static and allow custom values.
    Now I would like to insert a default value for this parameter-which coincides with omitting the above condition. Unfortunately the following formula
    if(not HasValue({?P_BR_STATUS})) then
    {?P_BR_STATUS}={Command.STATUS_NAME}
    doesn't work
    thanks in advance for your help.
    regards
    Edited by: Herman Riegelhaupt on Jun 17, 2008 4:28 PM
    Edited by: Herman Riegelhaupt on Jun 17, 2008 4:29 PM

    Hello,
    Thanks for your reply.
    >
    R Coleman wrote:
    In regards to your second question I create the parameter with an * as the default selection and then a formula referencing the parameter for my record selection.
    >  If {?P_BR_STATUS} = "*"  then true else {BR.STATUS_NAME} like  {?P_BR_STATUS}
    Your solution works fine on report level. However I would like to apply the same on SQL
    level, to improve performance. So my query in the command clause contains the
    following condition 
    WHERE BR.STATUS_NAME in {?P_BR_STATUS}
    Now my default value would be when {?P_BR_STATUS} is null then I would like to
    ommit this condition. Is it possible to do so?
    many thanks,
    HR
    Edited by: Herman Riegelhaupt on Jun 18, 2008 9:50 AM

  • Default value in dashboard prompt

    Hi,
    I have created 2 dashboard prompt one is projectnumber another one is date which is in 'MON-YYYY' format.
    My requirement is date prompt default value one month before a current month.
    Example if it is February 2012 it must displayed as JAN-2012
    Thanks in advance.

    Hi RR,
    Edit the Prompt.
    Under Default Selection select SQL Result and place the following query:
    SELECT concat(upper(CAST (MONTHname( TIMESTAMPADD(SQL_TSI_MONTH,-1, CURRENT_DATE)) AS CHAR(3))),concat('-',cast( YEAR( TIMESTAMPADD(SQL_TSI_MONTH,-1, CURRENT_DATE)) as char)))
    FROM "OBIA"
    Try this.. I think it will solve your issue.

  • How to show value from another Object as Default value from Prompt

    Hi,
       I am creating a web Report with the following filter :
    Enrollment Date FROM :   01/01/2011 12:00:00 AM  (Default 1st day of previous month)
    Enrollment Date TO :     01/02/2010 12:00:00 AM    (Default: 1st day of current month)
    There are values for Enrollment date from 01/01/ 2004 till today but user want to have a default value as in brackets above.
    When I select prompt option for 'Enrollment Date' all the dates (from 01/01/ 2004 till today) are shown as usual. Database is Oracle and I am able to create Objects in Universe that show the default required dates, but not sure how I use them in the prompt. Is there any way or workaround?
    Nanda Kishore.

    If i Understand Correctly you requirement you want to set a default value for date in prompt but user should have the ability to change these values if the want ?
    In order to implement this you can create a Object in Universe with definition
    Date Choice - @prompt('Default or Custom Date','A',{'Default','Custom'},mono,constrained)
    Then use this along with the date prompt in query filter as follows.
          Set Data choice =Default
            Date1= Default Date
            and
            Date2= Default Date
      OR
           Set Date Choice=Custom
            Date1 = Prompt
            and
            Date2= Prompt

  • How to set the default value in dashboard prompt?

    Hi there,
    In my Dashboard prompt I'm getting values like:
    Mar 2010
    Apr 2010
    May 2010
    Jun 2010
    How to set the default value to the current month (Jun 2010). I don't want to use "specific value". I want to use the "SQL Result" for populating the default value.
    Appreciate your help

    hi,
    you can create a Repository variable current_month with the expression as
    select to_char(trunc(sysdate),'Mon')from dual
    and use this in the prompt "Default to" Server variable and use this repository variable.
    hope this helps.
    cheers,
    vineeth

Maybe you are looking for

  • Sql*loader - loading based on file name

    Hi, I am facing an issue with using sql*loader. I want to load two data files into one table. While loading the data I have to set a column value based on which file the loader uses. I will have to pass the data file name thru command line parameter.

  • For FF 3.6 on XP, what is the name of the Bookmarks file, i.e., what file is being displayed as the result of clicking 'Organize Bookmarks...' ?

    That was the whole question with all the details. (Here it is again: For FF 3.6 on XP, what is the name of the Bookmarks file, i.e., what file is being displayed as the result of clicking 'Organize Bookmarks...' ?)

  • Clear Heads Prevail

    I can use a few level heads to help me think through a mess we're in. When my wife came home from work yesterday, she found we were broken into and robbed. Pertinent here is that gone are: G5 iMac, which would had to have been unplugged. Intel Macboo

  • BlackBerry News Search Term won't work

    In BlackBerry News, if you try to add a URL that is a feed, it returns 'no results' found. For example: http://news.google.com/news?q=burrito&output=rss Returns 'no results found'. is there a way to enter a custom URL into BB News?

  • Extracting Filtered Data

    Hi, I have a sheet in Numbers which I have filtered to show only fields with a certain value. I want to copy these separated fields into a new sheet, but the copy and paste function only throws back the unsorted data. How can I extract filtered data