Default Prompt Value

Hi,
We have a requirement to pass previous month to the report if the user does not select any value in the prompt. Meaning the value needs to default with no selection but if there is selection then the value selected should be passed. We have Reporting month(string) in yyyy/mm format. Another problem is the month value displayed in the report is based on the reporting month selected. So If the value entered is null the report output doesnot display any data.
I tried using dynamic prompt by bringing getdate() as a separate query but the problem is it just defaults to the previous month and doesnt allow to any other as input.
Please let me know what you think I need to do.
Thanks,
Karthik

If you are using a static string parameter for months then edit the parameter and in parameter options use default value as "Last Month". Now use the record selection like this
if {?Parameter}="Last Month" then
{month field}= month(currentdate)-1
else
{month field}={?Parameter}
if you are using numeric parameter then use default value 0 and use the same record selection but replace "Last Month" with 0.
Regards,
Raghavendra

Similar Messages

  • Default prompt values in webI report???

    I am using BO XI 3.1 on BW universe, I have a prompt A in the prompt window which has many Lov's but user will freequently use only three values out of it.
    So I want to make those three values to be default for that promp A when ever the report gets refreshed, so that it will be easy for user not to search in the big list for those 3 values.
    Any inputs please.
    Thanks,

    Hi,
    You can make some values as default prompt values by webi report.
    1) Open the webi report.
    2) Edit the query then go to the prompt
    3) Go to the prompt properties checked the chekcbox "Set default values" and type the three values and ok.
    So next time user refresh the report all three values come in the filter  default.They can remove or add more values in the list.but every time all values come in the filter.
    Thanks,
    Amit

  • Issue : OBIEE applying default prompt values when pressing return button

    Hi All,
    On my dashboard, I am showing a summary report. This summary report has a link to detail report. I have provided a link for detail report just below the summary report on dashboard. Following is the issue which I am facing
    [1] I run the dashboard for a particular prompt value on the dashboard. Let's say a date value = '1/1/2010'.
    (There is no default value for the prompt).
    [2] Now my summary report is updated according to the prompt value which I selected.
    [3] I click on any value on summary reports and it drill down and recalculated the metrics
    [4] Now when I click on the detail report, i get the detail report too ( in a new window). The issue starts from here.
    [5] When I click on return link from the detail report page, it takes me back to the summary report page ( I land on the report which I got from step 3)
    [6] I click on the return button under the summary report (rememeber I had drilled down) to see the report which i get in step 2
    But, when I click on the return button under the summary report, it changes the prompt value too and applies the default value to the prompt and provides me the initial summary report with default promt value. The report which I got in step 2
    Whereas what i want is when I click on the return link then I should get the report which I got in step 3.
    Why does OBIEE applies the default value when I try to return back to my original summary report. Is this an OBIEE feature or I have some setting issue ?
    Hope I have been able to explain the scenario!
    Can anyone please reply on this. Any help would be much appreciated.
    Thanks,
    Ronny

    hey kart,
    the issue is not about going back to the summary report ...the issue is when i click on the return link below the summary report after returning from the detail report ( which opens in a new window) then it takes me to the initial summary report ( which was loaded by default when the dashboard was loaded) with all the default prompt filters whereas my requirement is to go back to the summary report with the filters which users selected from the prompt ....
    Please let me know.
    Thanks,
    Ronny

  • How to display the current date in the prompt value.

    Hi,
    How to display the current date in the prompt value. When the user runs the query he want the current date to be displayed in the prompt value and he should also be able to change the date if required ...... I am using web Intellegency BO XI3.0.
    Thanks,
    Shakthi.

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • "Purge Previous Prompt Values" isn't working

    We are running BO XIr2 SP4 on MS Windows servers, SQL2005 databases, and XP desktops. I am familiar with purging data and clicking the checkbox to purge the last-used prompt values. This works most of the time but for at least one WEBI report I am unable to purge the last-used prompt values. Is there a trick to this, or a "gotcha"?

    My issue has to do with the process of purging the data that has been generated by a report and purging the answers to the prompts prior to saving the report. The current version of the report has retained some answers to the prompt that have served as defaults; we want to remove all these defaults. Normally to do so I open the report (which refreshes on open) in the WEBI editor, purge the report data, answer "yes" to the "purge last-used prompt values?" question, and then save the report. For most reports this will "clear" the default prompt values, but for at least one report this does not work and some of the default prompt values are still displayed when the report refreshes on open.

  • How to use the prompt value in the report column

    Hi
    I have a report prompt column which is 'Adj Type' which holds values 10,20,30 and when user selects Adj Type = 10 then this value should be passed to report column.
    For Eg. Column 1 value is 10 and this should multiple with prompt value and the output should be 10* 10.
    Any thoughts how to capture the prompt values in report column for calculation.

    hi hsekar,
    1) Declare a presentation variable in prompt under the Set Variable section -->Presentation Variable -->P_var
    2) In Fx Table_name.Your_column * @{P_Var}
    @{P_var}{20} ( 20 is default value it will override when a user selects value in prompt
    Thanks,
    Saichand.v

  • Need to clear last selected prompt values while refreshing webi report

    While using ALL within cascading prompts its  still showing the last prompt values selected  in infoview and not while editing and trying to run webi reports.
    Is there any way to clear this?
    I have implemented following options to resolve but did not work
    1) Delete the .lov files of universe.                                                                               
    2) Delete the contents in data folder by going into storage directory
    3) Implemented the non_persistent concept in prompts
    Code is as follows for the filter with in universe
    @Select(Customised LOV\State) = @Prompt('Select State','A','Customised LOV\State',mono,free,Not_Persistent,,)
    or
    'ALL' = @Prompt('Select State','A','Customised LOV\State',mono,free,Not_Persistent,,)

    Hi,
    In Web Intelligence, the Query Filter Condition consists of 3 parts:
    - Object on which condition is applied
    - Operator (=,<,>,matches pattern, etc)
    - Operands (constant, LIst of Values, etc)
    You will find a button with a "?" sign which is also called as Prompt properties. When you click on this button, a new window will open and in this you have an option for "Keep last values selected" which is checked by default.
    Uncheck this check box --> Click OK. Run the report and save --> Relaunch InfoView to avoid any caching problems.
    Hope this works for you
    Sheeba

  • Optional prompt value to be set from java bo sdk

    hi
    i am trying to refresh a report which has 4 prompts
    2 of them are mandatory and 2 of them are optional.
    Please find the code below
    Prompts prompts = di.getPrompts();
               if(prompts != null){
                       promptCount = prompts.getCount();
                     for(itemCount = 0; itemCount < 4; itemCount++) {
                       prompt = prompts.getItem(itemCount);
                       String paramValue = null;
                         if(promptName != null) {
                       if("Billing Period Prompt".equalsIgnoreCase(promptName)){
                            paramValue = billingPeriod;
                       }else if("Fleet Number Prompt".equalsIgnoreCase(promptName)){
                            paramValue = fleetNo;
                       if(paramValue != null){
                            String paramValArr[] = {paramValue};
                            System.out.println("paramValue "+paramValue);
                            prompt.enterValues(paramValArr);
                       }else{
                            paramValue = "null";
                            String paramValArr[] = {paramValue};
                            prompt.enterValues(paramValArr);
                     di.setPrompts();
                     di.refresh();
    initially, am trying to get all prompts and setting up values for the mandata prompts only. but i did not get any report
    then i tried to give some default value to optional parameters also by giving "ALL", "all","*", "null
    ,"NULL","*"
    stil it is not working
    please tell me what should i

    First I'd read the ReportEngine SDK Developer Guide.
    Then I'd try calling refresh() first, then setting prompts after that.
    The refresh method you can interpret as 'reset the document state such that new prompt values may be applied'.
    Sincerely,
    Ted Ueda

  • How to use different default parameter value for different report subscriptions

    In ssrs is it possible to define different default parameter values for different subscriptions? In the following example I have a report which has two subscriptions with different start date and end date values:
    Report name – Testsubscription.rdl
    Subscription-1
    Input parameter (default values):
    start_date = first day of current Month
    end_date = till date
    Subscription-2
    Input parameter (default values):
    start_date = first day of current Quarter
    end_date = till date
    I know an alternative way of doing this would be to copy the rdl file with a different name but I am curious whether this can be done within a single report definition file. I am using SQL Server 2008 R2 Standard Edition.
    Thanks!
    spp

    Hi sppdba,
    As per my understanding, there is a report with two parameter: start_date and end_date, you want to configure subscription for the report, and set different default values for start date and end date. And you want to know if it is possible to achieve you
    goal by using a single report definition file.
    Since you are using SQL Server 2008 R2 Standard Edition, we need to achieve your goal by configuring two subscriptions for the report. For detail information, please refer to the following steps:
      1. In design surface, right click start_date and open Parameter Properties dialog box.
      2. In General pane, type Name and Prompt, set Data Type to Date/Time.
      3. Click Available Values in left pane, select Specify Values.
      4. Click Add button, in Label text box, type “First day of Current Month”, click (fx) button in Value section, then type the expression like below:
    =DateSerial(Year(Now()), Month(Now()), 1)
      5. Click Add button, in Label text box, type “First day of Current Quarter”, click (fx) button in Value section, then type the expression like below, then click OK.
    =DateSerial(Year(Now()), (3*DatePart("q",Now()))-2, 1)
      6. Right click end_date and open Parameter Properties dialog box.
      7. In Available Values pane, select Specify Values.
      8. Click Add button, in Label text box, type “Today”, click (fx) button in Value section, then type the expression =Today(), then click OK.
    Now that the parameters are created, we need to configure subscription for the report. For detail information, please follow these steps:
      1. Open Report Manager, and locate the report for which you want to create a new subscription.
      2. Hover over the report, and click the drop-down arrow.
      3. In the drop-down menu, click Manage. This opens the General properties page for the report.
      4. Select the Subscriptions tab, and then click New Subscription.
      5. Select the delivery extension and data source for the subscription.
      6. Select a method of delivery, then choose report delivery options.
      7. Specify conditions that cause the subscription to process and delivery to occur.
      8. Set start_date to First day of Current Month, end_date to Today, then click OK.
      9. Create a new subscription as step4 to 7, set start_date to First day of Current Quarter, end_date to Today, then click OK.
    The following screenshots are for your reference:
    For detail information about Creating Standard Subscriptions, please refer to the following document:
    http://msdn.microsoft.com/en-us/data/ms156307(v=sql.105)
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Conditional Scheduling of report with Prompt values

    Hi All,
    My requirement is that I select some values in the dashboard prompt and get the report. Is there any methodlogy to schedule that report with having data in report according to
    set prompt values on the fly that is dynamically.
    We can a link below the report to schedule it but how can we pass the condition parameters? Please help.

    Hi Kishore,
    Thanks very much for the reply. It answers one part of the question.
    I am thinking to put a text property or button below the report and is it possible to attach the report values with current prompt selection and the request is attached to the in delivery content section which means user need not pick up the delivery content only he has to schedule current report only by clicking the link or button? Can I have script for that.
    To make it simple If I am the user I would like to see following:
    1. I go to dashboard page and select the prompt and get the report result.
    2. I have link or button below to schedule.
    3. I press the button I go to delivers section.
    4. I have current report attached to the delivery content with default selection or current selection.
    5. I modify other parameters and schedule.
    Please help me.

  • Dashboard prompt values

    Hi all,
    In the Fiscal year prompt, I am getting all the years i.e 1980 to 2050 choices( with by default option all choices). But we are having a requirement where we should Six years in the prompt value(i.e instead of all choices We should get only six years data)..
    So kindly suggest what should be done...

    Try to write a SQL query for only those six years some thing like this
    Select SQL results in the Prompt
    EXample query
    select time.year from DIM_TIME where time.year in(2001,2002,2003,2004,2005,2006)
    or
    select time.year from DIM_TIME where time.year between 2001 and 2006
    this should show only six years in your prompt
    Hope this helps

  • Undo drills and view prompt values warning message

    H,
    I have a dashboard with a few simple pie charts. I also have a dashboard prompt which helps me select a month and also an other criteria common to all charts in the dashboard. But after i added the dahboard prompt whenever I log into this dashboard i get the warning message saying "The layout of this view combined with data, selction or prompts chosen has resulted in no data" "undo drills and view prompt values", Only once I click on "undo drills and view prompt values" my charts are displayed. Is this like a know bug or does something need to be changed for this.
    Thanks

    Hi, this is because there's no data for the values pre-selected. You should add a Deafult value for each of the column of your prompt. Make sure that default value has data to show.
    J.-

  • Need to Keep track of last prompted value

    I have a requirement. I need to keep track the last prompted value.
    Like, If we have run a report for '01-01-2013' date and 'Sony' Category. If the same report I will run in next time the report should run with those default value ('01-01-2013' date and 'Sony' Category). That means default value of a dashboard prompt should be the last prompted value.
    Please tell me how to achieve the same.

    Teach your users how to properly use "Saved Customizations": http://docs.oracle.com/cd/E23943_01/bi.1111/e10544/dashboards.htm#BIEUG395

  • WebI showing random value from give prompt value

    Dear All,
    I have made an universe on top of SAP BW Query.
    I have designed webI report on top of that. In that I have "Fiscal Year.Period" as Interval Prompt in WebI not in BW Query and I can't put prompt in BW Query because based on same universe i have other report as well.
    I have user cross-tab in Report and in column section I have "Fiscal Year.period".
    Now the issue is, when I refresh document, it is asking me to enter From & To Period. I am giving input as example 001.2010 to 012.2010 then it should show me values between 001.2010 to 012.2010 only but instead it is giving me values for 2011, 2007 year as well.
    Does anyone have idea why it is happening ?
    As per my analysis, during prompt value LOV is by default sorted in Asscending order :
    1)V3/001.2010
    2)V3/001.2011
    etc.
    I really appreciate your quick input on this.
    Regards,
    Rishit

    hi ,,
    I have tried and understand your scenario....the data thing it having issue with bo .....but resolved by using this notes......
    1494404 - Using Webi query filters based on dates using "Greater than" and "Less than" and "between" does not work properly when based on SAP BEx.
    Try this and give the feed back......

  • Prompt value Pass

    Dear All,
    I have 3 report and 1 common dashboard prompts.
    I set dashboard each page each report and Prompt.
    My prompt like
    Country: Name:
    My requirement is
    When i select country from page1 that not impact to another pages prompts.
    How will do.
    Thanks

    Hi Raj,
    If i understood correct, then the way to do it is:
    we have two types of prompts : dashboard (by default) and page prompts
    while creating the prompt you might have choosen the "dashboard" prompt rather than choosing the "page" prompt.
    if you change that in the prompt then the prompt value will only reflect the corresponding page.
    hope it helps you...
    cheers

Maybe you are looking for

  • Error message when trying to open pages

    I'm having trouble opening new or existing documents using pages.  I get the error message, "pages cannot be opened because of a problem.  Check with the developer to make sure pages works with this version of Mac OS x.  I've never had this problem b

  • Block fields / Copy reply of fields in other pages

    Hello, I am using Adobe Acrobat Pro version 11 and I prepared a PDF Form using FormsCentral. I have got two queries please. 1) in my PDF form, there are one block of fields that is repeated 5 times. Is there a way to hide the blocks of fields that ar

  • Problem in changing end date of PA-Infotype using HR_INFOTYPE_OPERATIONS .

    Hi All, I am trying to change the end date of an active record in an infotype using HR_INFOTYPE_OPERATIONS FM. But am getting an error, 'Infotype does not exist'. I am using operation as 'MOD' and passing appropriate parameters as required. it would

  • WRT54g router DHCP problems (I think)

    I just got a wrt54g wireless router for my organization hooked it up and started having problems. I set the router to use DHCP and *tried* to set the "Maximum Number of DHCP Users:" to 15 and clicked "Save Settings" but when I went back to that scree

  • VAT (GST) Implementation in PeopleSoft FSCM 9.2 for Malaysia

    Hi, I would like to seek some help on the GST(VAT) implementation in PeopleSoft. Our company need to implement the GST in our system due to the implementation of GST in Malaysia and I got some implementation information regarding this and I manage to