Plz help the scenario..i am a new bee to obiee

i have a scenario i have a dashboard which contains 2 objects
1)dashboard prompt( which contains year values )
2) report (year and sales as columns)
what my question is when i select a year in prompt how i want the result is i want CURRENT YEAR DATA AND PREVIOUS YEAR data..
For this i create a presentaion variable and capture the value in dashboard prompt....where i struck is how to write the logic ...any help please

Try in this
For Current Year
SELECT saw_0 FROM ((SELECT Year(CURRENT_DATE) saw_0 FROM "SampleSales")
For Previous Year
(SELECT Year(CURRENT_DATE)-1 saw_0 FROM "SampleSales")) t1 ORDER BY saw_0
If you want get the current year and previous year in prompts you can create a variable and insert this logic
SELECT saw_0 FROM ((SELECT Year(CURRENT_DATE) saw_0 FROM "SampleSales") UNION (SELECT Year(CURRENT_DATE)-1 saw_0 FROM "SampleSales")) t1 ORDER BY saw_0
Mark if helps.
Thanks,

Similar Messages

  • PLZ help me out i'm very new and confused to java

    Hi~
    I'm very new to java and I just brought a phone (Nokia 6670). It's capable of J2ME, as it says in the instrusction book, but I'm not so sure which Java to download. (THERE ARE SO MANY). Please help me out, I'm not sure what to do, since I'm putting games in Java.

    you want to develop your own game or just want to have some games on your new device?
    your phone has java runtime already, and that's all you need to run java games .. you can download them from several locations
    if you want to develop your own game then download Sun's J2ME Wireless Toolkit; also have a look at Nokia Developer's Suite and emulator for your device...

  • Plz Help! How to control mouse motion(use program to move/click the mouse)?

    Hi people, plz give me some help on this: I wanna control mouse motion at another program's window, eg. control mouse movement in Internet Explorer's window. For a particular pixel on the screen, I need to move the mouse onto it instantly, then click. Please note that the java program(no applet) is going to run at the background, the current active window is some other programs like IE, notepad, etc.
    Plz give me some clue about how to achieve this, thanks.
    Do I need to do this through windows API or it can be done purely in JAVA?
    Also, how to calculate the RGB color from a particular pixel on the screen?
    Thank you very much for your time, plz help :).

    The same question each day (exe) !!!
    There are many posts on this point!
    All the soft that allows the build a native executable file on Windows
    are not free!
    You can take a look at JET excelsior
    http://www.excelsior-usa.com/home.html
    Denis

  • Plz Help, i downloaded ios8 on my 5s and it went to recovery mode after clicking installation.then downloaded by itunes and loaded but cant find my apple ID as i forgot everything. the phone is useless and cant be activated. wot can i do????plz help

    Plz Help,
    the last night  i downloaded ios8 on my 5s and it went to recovery mode after clicking installation.
    then downloaded the ios8 using itunes and loaded but cant find my apple ID as i forgot everything.
    the phone is useless and cant be activated. wot can i do????plz help

    Apple has a number of ways to help you find your Apple ID and password:
    https://iforgot.apple.com/appleid
    If you forgot your Apple ID password
    Apple ID: Contacting Apple for help with Apple ID account security

  • Got Noise in the Speaker after plugging external display. plz help.

    Hi guys, i just bought the apple Mini DisplayPort to VGA Adapter, but as soon as i plug it in, i got annoying noise comes out from my speaker.
    im using M box Mini as my audio interface.
    at first i thought it might be the wiring noise, so i moved the M box away from the external display, and moved the usb cable to varies position, but didnt work..
    guys plz help. the noise is just there constantly never give me a break!! really driving me crazy!! cant work with that noise,. plz help guys

    sorry
    i was getting confused with this rig i got here fsb should have been 166 for athlon 2600.    as for the not display no boot i just had to wait a little longer as the capitors kept on for ages eventually reseting the bios settings allowing boot.
    just tested the radeon seems to be running ok now - no crashes so far maybe 1.9 fixed it
    cheers

  • Plz help me in  knowing ansers to these question  of wiki..................

    In IMG, activities for which SAP cannot deliver default settings?
    2 At what level the regulation of employees are defined in SAP?
    3 To integrate the PA and OM we use a switch, specify?
    4 In which feature T-Code's are maintained?
    5  What is the use of a feature? A feature can be used to determine the default values & the screen sequence when HR Master Data is maintained in the Infotypes.
    6 The employee subgroup grouping for CAP allows you to assign different employees to different
    7 Employee subgroup grouping for PCR is done to
    8  In which feature, default wage type is defined for Basic Pay Infotype
    9 The wage type that starts with'/' is known as TECHNICAL WAGE TYPES
    10  Permissible check for wage type is performed for each
    11 In SAP one can control the initiation of actions when maintaining an  infotype by
    12 How to know the user authorizations ; ORG KEY
    13  Position inherits the task of which object
    14 How do you transfer data from PA to PD?
    15 RHINT30 Used for what?
    16 Feature PACTV performs
    17  What is the use of Feature NUMKER?NUMBER RANGES
    18 What is the use of control record
    19 Are you able to perform more than one action in the same day? YES
    20 Whether System will allow the Hire and Terminate actions on the same day?NO
    21  While performing the hire action, Customer don't want to go further with out entering
    22 the data into the Infotype i.e  few Infotype data's are mandatory .how to proceed?

    hi pavani i thought u have very good knowlege in sap hr and u r answering very good questions.as i'm attending interviews i asked to reply fr these questions. then u r saying  that peers dont have any work.when sai ushasri gave 100 questions u answerd the questions. i think u should feel shy fr this .  plz help the freshers ,dont irritate.  
    hope u understand
    regards
    kishore

  • Error 1430 occurred at Open/Create/Replace File in NI_Fuzzy_Logic_API.lvlib:FL Load Fuzzy System.vi- Untitled 3 Possible reason(s): LabVIEW: The path is empty or relative. You must use an absolute path. Not A Path how can i copy it in new vi plz help

    when i am copy the vi that is in find example>fuzzy>fuzzyEx with pi control the follwing error occuring 
    'error 1430 occured at open/create/replacefile in NI Fuzzy logic API.LVLIB FL LOAD FUZZY SYTEM.vi
    untitel 3 possible reason the pat is empty or relative you must se use an absolute patth <not apath>
    plz help me i only want that i can copy this vi in new vi but when i do so the above error occur and fuzzy logic cotroller is highlited 

    Hello Nofil,
    This is probably happening because you have made a copy of the VI without changing the name/ location on the disc. I have saved a copy of the VI for you, it is in LabVIEW 2010 SP1, please ask if you want this in a previous version.
    Regards
    Andrew George @ NI UK
    Attachments:
    Fuzzy Tanks with PI.vi ‏31 KB

  • My new iphone is running extremley slow, internet takes ages to load, apps take ages to install and has trouble connecting to app store. and the apps dont work properly like ebay wont open or refresh items, plz help

    my new iphone is running extremley slow, internet takes ages to load, apps take ages to install and has trouble connecting to app store. and the apps dont work properly like ebay wont open or refresh items, plz help
    my iphone4 is 10 times faster
    i have backed up on itunes and restored but still no luck
    even siri is lagging

    my new iphone is running extremley slow, internet takes ages to load, apps take ages to install and has trouble connecting to app store. and the apps dont work properly like ebay wont open or refresh items, plz help
    my iphone4 is 10 times faster
    i have backed up on itunes and restored but still no luck
    even siri is lagging

  • In the new mail app for OSX v10.7 Lion it seems I can only setup my gmail account as an "imap", when I need to set it up as "pop"... PLZ HELP I NEED MY MAIL TO WORK!!!

    In the new mail app for OSX v10.7 Lion it seems I can only setup my gmail account as an "imap", when I need to set it up as "pop"... PLZ HELP I NEED MY MAIL TO WORK!!!

    Go to System prefs
    Select Mail Contacts and Calendars
    Then select Other
    Then select "Add a Mail Account and click create
    Then go to google for the settings you need:
    First here for the settings online at gmail http://tinyurl.com/du3fu
    Then here for the setting in mail http://tinyurl.com/38fevm8
    These are instructions for Mail 4.0 but all of the necessary settings should be listed.

  • Hi, I have moved to India from france and I am trying to update my payment options to the Indian visa card but it seems that no matter what I do I cant do it. I dont want to create a new ID..Plz Help!!!Just want to change my location and my payment detail

    Hi, I have moved to India from france and I am trying to update my payment options to the Indian visa card but it seems that no matter what I do I cant do it. I dont want to create a new ID..Plz Help!!!Just want to change my location and my payment details!! thanks in advance!!

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then seeRecover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • I was having i5 nd its back up stored.nw i got 5s nd den i updated my itunes.For the first tym i connected to itunes.i selcetd it as old device nd it restored my photos which was on old i5.bt i lost my ol d photos of new iphone.plz help me to get dem back

    plz help me dat hw can i get my new photos back which were on new iphone..bcoz dey were nt backed up..as i connected it for d first time through itunes..
    all my preveious photos has been restored..and new one r no more..plz help me..dere were 1000 photos n it

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Plz helP me about the new FW (software) v4.0750.31...

    plz help me i was update new FW v4.0750.31.2.1
    but found too bugs in music player i cant save the preset and the sogs was download in memory always bad file when i play it.
    and the camera light is very little and not pure.
    plz I wanna the old version to my phone which i bought by it but i dont now it
    plz help me what can i do?

    same like the rest of us you can do absolutely nothing except wait for a new version to release

  • Hi, Plz help me find my stolen black iPhone5, I just bought it unlocked with 1200$ to be worked in Egypt and it was stollen from my luggage at the Airport. It was brand new and the box is sealed. It's serial no

    Hi, Plz help me find my stolen black iPhone5, I just bought it unlocked with 1200$ to be worked in Egypt and it was stollen from my luggage at JFK Airport in NYC. It was brand new and the box is sealed. It's serial no# is 013330002557961. Plz help me for God's sake.

    no way to track phone i the box. I doubt u can track it period.
    Thats some low stuff though. What Airport where u in. I bet NYC or Chicago

  • Plz help????????????tell me about the oracle project as i am new to oracle

    plz tell me how i can get oracle project i.e sample project or demo projects
    so that i can have an idea...............
    plz help....................
    thanks

    This is your 4th or 5th post in which you are using subject like this and I guss you might have been told to write in a decent manner. Havnt you learned anything about being bit decent ?
    Why you think that these hell lot of question marks are going to make it more important than other posts. If you want to ask something, just be polite and give some good subject to the post.
    BTW why you are looking for ready made demo projects ? Want for some assignment ? If you are new, think, make a project and learn. There is no tablet that can help you in learning Oracle.
    Sidhu
    http://amardeepsidhu.blogspot.com

  • FT can't be installed on "mac hd" because the version of mac os x is too new !!!!!plz help :(:(:(:(:(:(

    FT can't be installed on "mac hd" because the version of mac os x is too new !!!!!plz help :(:(:(:(:(:(

    And with that patronizing response, I'm outa here. Good luck.
    Not sure why you marked it as solved. A mistake I guess.

Maybe you are looking for