Default selection in prompt

Hello,
Using obiee 11.1.1
I created one presentation variable in the prompt using sql results.
Using that prompt in my anaysis.i..e which i am using in the filter.
Initailly when i run the dashboard since no value is selected from the filter its shows no results found
No Results
The specified criteria didn't result in any data.
This is often caused by applying filters and/or selections that are too restrictive or that contain incorrect values. Please check your Analysis Filters and try again. The filters currently being applied are shown below.
M_NAME is equal to / is in VarMName
Whar i want is
scenario 1->what to do so that the No results found msg should not come and just the filter should be displayed.
or
scenario 2-display all the values of filter in the report initially i.e. as though one has selected all the filter value.
or
scenario 3->By default select one filter value and show result for that.
I want to know how to do the 3 scenarios?
Thanks

Hello,
Thanks for the reply.
Scenario 1 i achieved.Thanks for that.
Diff between 2 and 3 is
2->Display null in the filter and in the report display all the values for which filters were genertrated.
3->Display one filter value and in the report display only values with matching filter.
I am using the presentation variable now only in creating filter.
I did one thing i edited the pv and then in the default selection i pasted the same query which i am using in the lov,so when i run the dashboard
i ma seeing initially the first filter geting selected but in the report region it wont show the machting filter result,it shows no result found, until i click on apply or refresh.Dont know why the filter query not taking the default value of pv?
for 2->how to modify the filter because now its using the pv and only when the pv is null it should show everything
How to do 2 and 3
Thanks

Similar Messages

  • Max date in Default selection of prompt

    HI,
    in Prompt i have dates,i need maximum date in default selction of prompt
    how to give max("table"."colum")

    You have to write query like
    SELECT MAX(Time.Date) saw_0 FROM "SA"
    at Prompt->Show->SQL Results use this query
    If helps pls mark as correct/helpful
    Edited by: Veeravalli on Nov 22, 2012 6:33 AM

  • Default Selection Issue in Dashboard Prompt

    Hi All,
    I am using the below logical SQL in SQL Results for Default Selection of a column in a dashboard prompt,
    SELECT "Facts"."Service Provider", "Config"."Integration Id" FROM "IMONIT - Transaction Log" WHERE "Config"."Integration Id"='@{inttype}'
    Here, I have used a presentation variable, which is set by another prompt. Also the Facts and Config table are joined in RPD. The issue is it does not selects the values returned by the logical SQL by default. But if i use the same logical SQL in SQL Results of Choice List Values for the same column in the prompt, the logical SQL does work and populates the prompt only with the values returned by the logical SQL.
    Any help is much appreciated.
    Regards,
    Maria

    Deepak, actually the scenario is that I am navigating to the page with the dashboard prompt from another answers report located on another dashboard page. This SQL works perfectly when I press the GO button of prompt on the same page. But its not working when I am navigating to the same page with the prompt from any other report. Any ideas ?

  • Issue in Default selection in Dashboard prompt

    Dear All,
    I have a dashboard prompt with columns year and month.month column i kept as slider in that default selection i kept 45 days backward from current date,since my requirement is the end user have the option to selection the day backward instead of 45 they need to selection either 45 or 30 15 15 based on that they have to run the report.can any help in this regards.
    appreaciate the immediate response !!!!
    Regards
    GN

    Hi GN,
    Create an variable prompt ( Eg: v_days ) and add custom values as 15,30,45,100 into it and keep the default as 45.
    Use v_days variable in another column prompt (Eg: Period) with the format MON-YYYY.
    Now when user selects no of days , period will get the corresponding change.
    Thanks,
    Haree

  • 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.

  • Default value of prompt based on another request

    Hello:
    I have a requirement where I need to set default values of prompts based on another request.
    The prompt is a Date Prompt.
    I tried it using presentation variable, and writing sql query, where is says " WHERE promo_id= @{variable}"
    but it is still not working.
    Please let me know the workaround for this issue.
    Thank you.
    - Vinay

    How is the End Date determined for your BETWEEN operator? I would assume that is variable. Also, is the second report on another dashboard page or on the same page? Assuming both reports are on the same page, do the below. If not, you can use the same prompts on the second dashboard page. Set the scope to "dashboard" and the selection the user makes carries to the second page.
    The easiest way is to have 3 Dashboard prompts: Promo_ID, Start_Dt, and End_Date. Set these prompts to PVs: pvPromoID, pvStartDate, and pvEndDate, respectively.
    Filter report one on pvPromoID and pvStartDate.
    Filter the second report on pvPromoID and use pvStartDate in the filter of the Date column of report two. Assuming the BETWEEN values are variable, then you can write the following on the Date column of your second report:
    "Table Name"."Date ColumnName" <= '@{pvStartDate}' AND Table name"."Date Column Name" <='{EndDate}'
    And on your Promo column, use the filter "Table Name".Promo = '@{pvPromoID}'
    When the user selects the Promo ID, Start Date and End Date from the prompts, both the first and second reports will be filtered accordingly.

  • OBIEE multi-select dashboard prompt selection limit.

    I am runing into a limitation on the number of selections I can make with a multi-select dashboard prompt. I can not find any documentation on this limitation. Does anyone know what the limitation on the number of selections is?
    Thanks

    Are you looking for this:
    http://obiee101.blogspot.com/2008/07/obiee-number-of-default-values-in.html
    regards
    John
    http://obiee101.blogspot.com

  • How can I pre-define the default selection in a SelectOneChoice?

    How can I pre-define the default selection in a SelectOneChoice?
    (1) Here's my JSF-code:
    <af:selectOneChoice label="#{res['usercreate.input.sex']}"
    value="#{bindings.Sex.inputValue}"
    binding="#{SelectListBean.sexlist}"
    readOnly="false" autoSubmit="false">
    <af:selectItem label="#{res['data.sex.women']}" value="1"/>
    <af:selectItem label="#{res['data.sex.man']}" value="2"/>
    </af:selectOneChoice>
    (2): manged bean: to set the default value to be the first in the list, my managed bean as follows:
    import oracle.adf.view.faces.component.core.input.CoreSelectOneChoice;
    public class MBSListBean {
    private CoreSelectOneChoice sexlist;
    public MBSListBean() {
    public void setSexlist(CoreSelectOneChoice sexlist) {
    this.sexlist = sexlist;
    this.sexlist.setValue(1);
    public CoreSelectOneChoice getSexlist() {
    return sexlist;
    (3) when i launch the page, it often gives me such warnings:
    WARNUNG: Could not find selected item matching value "1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id7]
    how to solve the problem ?
    Thanks,
    wzzdx

    You could also set the default on your entity or viewobject, in the properties of your attribute.

  • How to change the default Path of Prompt Played by MicroApp

    Hi
    I need to store all the Self Service application prompts in dedicated Media Server. I can modify location of all the Media files by passing the related URL form CVP application, however I need to know how to change the default location of Prompt file played by Play Media Microapplication in ICM Scripting.
    Currently the default location taken by Play Media Micro App is the Media _Server.variable path set for VXML Server location while I have a separate Media Server.
    Please advice how we can customize the MicroApp Media path.
    regards
    Kapil Kumar

    Hi Kapil,
    Try this in your ICM script, define set variables i.e.
    set Media Server= ip address of media server
    set Locale = en-us
    set input Type = DTMF only
    set App Media Lib = " you new location i.e. test "
    So, the application path will be
    http://media server ip address/en-us/test
    hope this helps.
    Cheers

  • How to hide  some fields in default selection screen in hr abap

    Hi experts,
    I have created default selection screen,in that in the Period option I wants display only 'Today'.
    And in the selection criteria i wants to display personnel number,companycode,personnelsubarea,employee status and instead of payroll area i wants to display 'Org unit'.please tell me step by step procedure,that could be greate helpfull.
    Thanks in advance,
    mohan

    use this logic to display only today in the period option
    **Local constants
       CONSTANTS:
              c_0                   VALUE  '0'  ,
              c_089     TYPE char3  VALUE  '089',
              c_091     TYPE char3  VALUE  '091',
              c_095     TYPE char3  VALUE  '095',
              c_097     TYPE char3  VALUE  '097'.
                     At Selection Screen
    at selection-screen output.
    LOOP AT screen.
          IF
               screen-group4 = c_089 OR
               screen-group4 = c_091 OR
               screen-group4 = c_095 OR
               screen-group4 = c_097  .
          screen-active = c_0.
          MODIFY SCREEN.
         ENDIF.
      ENDLOOP.

  • How to change default selection in compensation planning

    Hi experts,
    We have upgraded our portal to EHP1 sp04.
    I need to change the default selection which it currently shows in "Employee Selection" under
    Compensation Planning-->Compensation Planning.
    When a user clicks on Compensation Planning>Compensation PLanning> he comes in an iview with 4 steps:
    There is one "Employee Selection" scroll down view, I need the default to be "Direct Reports"
    http://rapidshare.com/files/308150359/DirectReports.jpg
    The default it shows is "Employees from organizational units", I need to change it to "Direct reports". Can someone tell me how I should proceed about it.
    Please guide me
    Regards,
    Rajat Sharma

    Hi,
    I have solved this issue.
    Go into SPRO>integration with other sap system>business packages>mysaperp>organizational structure view
    group organizational structure view.
    select mss_ecm_sel and change the nos. accordingly.
    thanks,
    Rajat

  • Logical database EQI (equipment)  .. I dont want to use the default selecti

    i am using Logical database EQI (equipment)  its realated to PM module.....
    i dont want to use the default selection screen.
    instead i want to process my own selection screen inputs..
    (ie..) i want to fetch the data using the GET event using my  own selection screen  inputs.
    my selection screen inputs is   equipmentnumber (equnr)
    and  the output list : 1.equnr      "equipment number
                                  2.shtxt       "Equipment Description
                                  3.tplnr        "Functional Location
                                  4.pltxt        "Functional Location Description
                                  5.qmnum    "Notification Number 
                                  6.qmtxt      "Notification Description
                 and  so on  ..........             
    how to do this ... can any one give sample code... or logic

    Hi Victor,
    I have a simple solution for this.i think it will help you.Do u have any idea about query designer in SAP.
    by using it we can satisfy u r  reuqirement.follow the below steps.
    1)Go to SQ01
    2)In the screen click on QuickViewer option.then you will go to another screen.
    3)In that screen give any name starting with 'Z' in the QuickView box and then click on create.
    4)In the dialogbox enter title and comments and then select LogicalDatabase as the DATASOURCE and give DataSourceLogicalDatabase as EQI.check the radio button Basis Mode and then click on ok.
    5)then on the screen in the first half of leftside you will  get another screen with the columns DATAFIELDS,LISTFIELDS,SELECTIONFIELDS,TECHNICALNAME.
    6)In the DATAFIELDS column expand the tree,then u can see the fields what we have,and what you want.and also you can see the check boxes in front of the columns LISTFIELDS,SELECTIONFIELDS.
    7)LISTFIELDS means the output fields,SELECTIONFIELDS means the selection screen fields(equnr).
    check the checkboxes as per u r requirement and click on execute.
    8)then a progam will be created.to know the program name after executing the program GO TO
    SYSTEM->STATUS.then u can see the program name there.
    If u know all these,let me know so that i can try for another solution.
    Thanks,
    N.K.C

  • How to change the text in default selection screen

    Hi,
      I have created the default selection screen(using PNP Logical database) ,In that I wants to display 'Data Selection Period' instead of 'Period'.
    Please send me the related code.
    Thanks in advace
    mohan

    HR Logical Database is PNP
    Main Functions of the logical database PNP:
    Standard Selection screen
    Data Retrieval
    Authorization check
    To use logical database PNP in your program, specify in your program attributes.
    Standard Selection Screen
    Date selection
    Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database. When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period.
    Person selection
    Person selection is the 'true' selection of choosing a group of employees for whom the report is to run.
    Sorting Data·
    The standard sort sequence lists personnel numbers in ascending order.
    · SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001.
    Report Class
    · You can suppress input fields which are not used on the selection screen by assigning a report class to your program.
    · If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.  
    regards
    vinod

  • Hiding some fields in default selection screen in hr abap created by pernr

    Hi experts,
    I have created default selection screen,in that in the Period option I wants display only 'Today'.
    And in the selection criteria i wants to display personnel number,companycode,personnelsubarea,employee status and instead of payroll area i wants to display 'Org unit'.please tell me step by step procedure,that could be greate helpfull.
    Thanks in advance,
    mohan

    hi mohan,
    try this
       **Local constants
       CONSTANTS:
              c_0                   VALUE  '0'  ,
              c_089     TYPE char3  VALUE  '089',
              c_091     TYPE char3  VALUE  '091',
              c_095     TYPE char3  VALUE  '095',
              c_097     TYPE char3  VALUE  '097'.
                     At Selection Screen
    at selection-screen output.
    LOOP AT screen.
          IF
               screen-group4 = c_089 OR
               screen-group4 = c_091 OR
               screen-group4 = c_095 OR
               screen-group4 = c_097  .
          screen-active = c_0.
          MODIFY SCREEN.
         ENDIF.
      ENDLOOP.

  • Input box on default selection screen

    Hi,
       how to create an input box on the default selection screen which will accept only 1275 characters.
      Can u please help me?
    Thanks in Advance,
    Sreekala.

    Hi Sreekala,
    You need to use the  CL_GUI_TEXTEDIT for creating the box, also you need use the dialog program for that.
    For more info on that class check this
    Usage of CL_GUI_TEXTEDIT
    Text box on selection screen
    Hope they helps you.
    Regards!

Maybe you are looking for

  • Captivate 5 question and answer data not showing up in Connect 8 LMS

    I'm using Captivate 5 and Adobe Connect 8 for an LMS.  I can publish lessons and quizzes directly into Connect with no problem.  Taking the quizzes works fine.  I have a problem with the reporting of quizzes. The scores are correct but I often don't

  • Transfer data from old iMac to new iMac

    Wish to transfer all data EXCEPT iTunes from old iMac (500 GB) to new iMac (2 TB).  Have read this is possible using Firewire connection, is this possible, if so what is the procedure, and how long does it take? Is another method preferable in terms

  • Interest Payments on Security Deposits

    Hi , Can anyone help me on  how withholding tax is handled in interest payments on security deposits to the customers ? What are the transactions and configurations required.. thanks , Amit

  • New Message Saved Multiple Times In Drafts Folder

    I know that while I'm composing an email the program automatically saves a copy of that message to the drafts folder. This copy is updated while I'm composing the message. But recently, as I'm composing a message, the same composition is saved multip

  • Acrobat preflight droplet 8.1.2 & leopard 10.5

    there seems to be an issue creative preflight droplets with the newest 8.1.2 update for acrobat. after creating the droplet, the application fails to launch. just bounces once and stops. i have attempted to rebuild the prebindings and tries different