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

Similar Messages

  • How can I change the default value of a command ?

    I want to be able to change the default value of a comand when the vi
    is running. (I know how to do that with a right click when the vi is
    not running).
    In fact I would like the user of the vi to be able to choose a new default value for a command.
    How can I do that ?

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

  • How can I change the default value in IT0009?

    Right now in our system when we create a new IT0009 entry, several fields are defaulted such as the payee name, bank country, and currency (field WAERS). But in table T588Z I can not find anything defined for IT0009. Now even I create entries in T588Z ex. as 
    0009              WAERS     06     10     W     P0009-WAERS='USDN'
    the currency still shows up as 'USD' when I create a new record. Can anyone tell me where the field 'WAERS' is defaulted as 'USD' and how can I control this?
    Thank you very much.
    Best regards,
    Johnson

    Hi Johnson,
    Correct me if I am wrong,You need to default a value, so i guees you would need to use the feature P0009 not the dynamic action. If you could let meknow the current structure of the p0009 feature, may b i could help you figure the could-be structure of the p0009 to default the required value.

  • How can I change my default PDF viewer and other things

    Hello,
    I am using Iceweasel 3.6.16 on Debian Stable (currently Squeeze) and the download Manager in Firefox (it should be the default one though I have the All-in-One Sidebar installed) always wants to open PDF files with the foxit reader. I don't know when it happened, how or why but everytime I click on a pdf file in the download manager it tries to open it with the foxit reader using wine, same thing happens with txt (he's trying to open them with notepad, using wine).
    Now when I download pdfs I don't have a problem because I use the PDF Downloader and I set it to use okular when I want to open a pdf but once it's downloaded and I want to open it using the sidebar on the left it uses the foxit reader. So my question would be where I can specifiy what program I want to certain files.
    When I go to Edit -> Preferences -> Applications and to PDF Document it says under Action "Always ask" and changing that to okular doesn't solve the problem.

    AWESOME - PROBLEM WAS, AT THE TIME ADOBE AND FOXIT FILE TYPES WERE NOT APPEARING IN MY TOOLS/OPTIONS/APPLICATIONS TAB - THIS IS A MYSTERY . . . .

  • How can I change the default Google search engine in Firefox 8 from google.fr to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want UK based responses.

    How can I change the default Google search engine in Firefox 8 from google.fr to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want UK based responses.
    I'm using XP Pro.

    You can find search engines on the Mycroft Project website.
    * http://mycroft.mozdev.org/
    * http://mycroft.mozdev.org/google-search-plugins.html

  • How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    http://support.apple.com/kb/ht5621

  • Hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a

    hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank

    For sideloaded content the nook pulls the metadata from ePub file itself.  I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
    For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so  no you can't them to behave exactly alike without converting the files.

  • How can I change the default  driver to OracleXADataSource in JDeveloper

    Hello,
    How can I change the default oracle driver: oracle.jdbc.OracleDriver to oracle.jdbc.xa.client.OracleXADataSource in JDeveloper Studio Edition Version 11.1.1.0.2, Build JDEVADF_MAIN.BOXER_GENERIC_090328.0229.5205.
    If I modify the file connections.xml from jdeveloper\system\system11.1.1.0.31.52.05\o.jdevimpl.rescat2\connections in the sense that I change the driver class, then in JDeveloper when I test my connection I have this problem: Test failed: oracle.jdbc.xa.client.OracleXADataSource cannot be cast to java.sql.Driver
    Why do I need this XA version of the oracle driver? Well I tried, from a book to reproduce the model of an application: entities, stateless and stateful session beans, mdb, web services and a client to test one part of the model.
    And because of the JMS server I need an XA driver.
    I deployed to the integrated wls 10.3 and when I test my client, if I use the default driver for the connection the an error message appears tell me either to emulate two-phase commit or to use XA driver.
    My application works very well, if I configured in the console of the integrated wls 10.3 a datasource with the same name as my ide/application connection that has for the Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource in the Connection Pool tab.
    Thank you.

    Open DIsk Utility and in the toolbar select Disk Image. The file selector will open and you'll have to do three things: 1) just as with any file, name it and point the file selector to where you want it to be saved, 2) near the bottom you'll see name - type iWork 2013 and 3) below that select the image size. Click on size, choose custom and type 1500 MB then click on the Create button.
    Some time will pass and then you'll see an external disk pop up on your desktop and/or the Finder window sidebar. Drag the three programs into it and eject it like any other external disk. Now delete the programs from your applications window.
    Where ever it was you pointed the file selector to you'll see the file you created. Double click on it and the disk image will mount again.

  • When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Question
    When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Is FF downloading the file as a .txt file? If so, go to "Folder Options" in the windows control panel. Click on the "File Types" tab. Scroll down until you reach the TXT file extension. Look to see what that extension opens with (lower part of panel). It probably shows notepad. Click on the <Change> button. Scroll down until you find "Microsoft Word." Select it and click the <OK> button. That should show the TXT extension is now associated with Microsoft Word. Click the <Close> button at the bottom of the panel.
    If FF is downloading the file as any other type, use the same process as above except look for the corresponding extension instead. If the extension is not listed click on the <New> button and create an association using the extension in the file name and then associate it with MS Word.
    davewdan

  • Mail -- How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    sorry, but I can't find the mail preference in the latest Yosemite OS. Do you know where I can find it?
    Thank you
    Don

  • HT3965 How can I change the default Apple ID on and IPad?

    My daughter just gave me her IPod - how can I change the default Apple ID? Every application update comes up with her email address.

    Delete all the applications, sign into the iTunes Store with your Apple ID, and download the ones you want.
    (98113)

  • How can I change my default email address?

    I'm changing to a different ISP, but the default email address in TB is lodged with the old ISP. How can I change the default to one of my Gmail addresses?
    Thanks.

    From the menu bar select '''Tools-Account Settings'''
    Select the account to make the default.
    At the bottom of the account list is '''Account Actions-Set as Default'''
    No menu bar? Press the alt key.

  • HOW CAN I PASS A DEFAULT VALUE IN INTERNAL TABLE

    HOW CAN I PASS A DEFAULT VALUE IN INTERNAL TABLE.
    DATA : BEGIN OF ITAB OCCURS 0,
               FIELD1(2) TYPC C DEFAULT   '12',
               FIELD2     TYPE C ,
               END OF ITAB1.
    IT'S GIVING ERROR MESSAGE.
    PLZ LOOK INTO THIS AND GIVE ME CORRECT SOLUTION.
    THANKS
    SURI

    DATA : BEGIN OF ITAB OCCURS 0,
    FIELD1(2) TYPC C,
    FIELD2 TYPE C ,
    END OF ITAB1.
    itab-field1 = '12'.
    itab-field2 = 'A'.
    append itab.
    clear itab-field2.
    itab-field1 = '12'.
    itab-field2 = 'B'.
    append itab.
    clear itab-field2.
    Now everytime u'll have the value for field1 = '12'.
    Regards
    Vasu

  • How can i change a default ....

    How can i change the default xml parser used by oracle??
    can i use xerces ??? or something different
    i am using Oracle 9....03 version
    and transformation i am doing is using transform function of xmltype.
    The things which work using some xml parsers seems are not working with oracle default parser
    transformations.
    Can anyone pls tell how to chnage the xml parser ????

    Yes i want the transform function of xmltype to use some different parser to transform the document.
    Because the application which was working with different parser stops working when i moved my xml to oracle database to use xmldb functionality
    i can find small small problems with the oracle xml parser.... like entities cannot be defined in xsl, cannot use format-number, converting less than angle bracket to & lt ; even if i specifying to disable output escaping.. beacuse of which it started giving me lots of problems.
    These all were working with the other xml parsers...
    i am stuck don't know what to do now ??

  • How can i change the default path of installation

    I had creative cloud for a while. Today i changed the default installing folder, from the creative cloud settings/prefferences(can't remember) menu, from C to D. Then i uninstalled all the programs from adobe cs6 to take the new cc programs. When i want to reinstall adobe creative cloud it is installing on D and since there is no operating sistem on D i can't install the creative cloud. It keeps installing on D. How can i change the default path of installation if i uninstalled creative cloud?

    Or how can I change the prefered installation folder that can be changed from creative cloud menu/prefferences when i have uninstalled creative cloud?

  • How can I get the default value of a particular preference programatically. I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
    Thanks - c</blockquote>
    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I get the default value of a particular preference in FireFox?.
    I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
    I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
    Any help towards acheiving this programtically is greatly appreciated.
    If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Dear Friend,
    Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
    Then you can get the value from the outparameter using callablestatement.getXXX().
    Try that way.
    For free tral versions of JDBC Drivers go to www.Atinav.com

Maybe you are looking for

  • How Do I Combine Several Images Into One Image Which Contains Links To A Series Of Web Sites?

    How do I combine several images into one such that the combined image contains a series of web links? In particular, I'd like to create such an image and put it into my Outlook email signature. At present, as per the image below, I have at least six

  • Need help regarding Realm Secutiry(authentication)

    hi, I am very new to java and aslo very much new to J2EE.. I have learn about the how to create custom realm. I have problem woth AuthenticationUser..Can you please send me or give me any related coding examples how to code the authentication class a

  • Annoying noise in iTunes 8

    since i have downloaded iTunes 8 apart from going excruciatingly slow and randomly freezing my Itunes library makes frequent and very annoying "phwwp" noises. I believe it is something to do with the new genius feature possibly, is there anyway to tu

  • Text type

    Dear Expert i want to configure my system in which when i enter data in the header or item text type of PO it will come in the form oh POP up at MIRO level i.e a user enter a data at PO level in the text and when there is invoice verification that da

  • Triggering IDOC and sending it to XI.

    Hello, When I release a production order in SAP will it automatically trigger a LOIPRO01 IDOC to be generated? If so, how can I see the generated IDOCs? If not, how can I trigger the production order to generate a IDOC on release? regards, Lunatikk