ToDate for Year Ago - OBIEE 10g

Hi All,
I have got a following requirement.
Year to Date(YTD) --> 01-01-2011 to 27-09-2011 (today)
Year to Date Year Ago (YTD-1) --> 01-01-2010 to 27-09-2010 (same day last year)
I can get YTD using ToDate function. Can someone help me to get the YTD-1?
Thanks in advance.
Edited by: 869650 on 27-sep-2011 5:56

Hi,
Kindly refer this 100% it's matching your case...
Solution :
FILTER(AGO(Measure,Year,1) USING Calendar_Date <= NOW())
for more info:
Re: Help with YTD/AGO Calculation
Thanks
Deva
Edited by: Devarasu on Sep 30, 2011 12:28 PM

Similar Messages

  • Download link for report in OBIEE 10g

    Hi All,
    On dashboard page, we have link for the report. Our requirement is, beside the report link, Can we put a link to download the same report. Business wants users should have quicker access to download the report. So, they want a link to download report without opening it.
    -Regards
    Mayuri Shah

    Hi Mayuri,
    Possible with GoUrl.Add a gourl in this format to your dashboard object,
    Check this, Go URl in OBIEE
    Rgds,
    Dpka

  • How to Calculate Leap Year ago in OBIEE 11g

    Hi Gurus,
    I have one fact table and having one measure column. I have to calculate current year and Last year.
    Using Time series function (Todate,Ago) have calculated current year as well last year also.
    The problem is Current year is showing correct value only but Last year was showing wrong data.
    We found the problem is Leap year, last year FEB month is having 29 dates. Due to this we are getting wrong date.
    Kindly suggest me how to achieve this requirement.
    Thanks

    Hi Gurus,
    How to resolve Leap Year calculation in OBIEE 11g.
    The problems is Year Ago column.
    Please suggest me how to resolve this.
    Thanks

  • OBIEE Year ago and Month ago

    Hi,
    I want to find the month ago and year ago in obiee repository.I have measure column 'Sum(Sales)' and time hierarchy with year,month and date level. Note that I may not have data for all the dates since for some days I may not have any sales at all. If I use Ago function in repository with measure and month level, I am not getting result which I expected.
    Please point me to correct directions.
    Edited by: 961013 on Oct 1, 2012 7:42 AM

    It sounds like you are on the right track. The lack of some fact records for specific dates should not matter. The Time Series Functions in the RPD are totally reliant on the time dimension being setup correctly, so I would first suggest checking the time dimension (hierarchy) setup. A common problem is with level-based keys. Check that keys have been defined correctly at each hierarchy level (except the Grand Total level); make sure that you have a sequential chronological key* defined at each dimension level, primary and drill down keys have been defined at each level (as required) and the grand total level has been correctly flagged. Don't forget, the dimension needs to be flagged as a time dimension too! There is plenty of guidance on the web about setting up and using time dimensions if you need more detail.
    * If you think about this laterally, the time series functions need to know how to work out what a measure value was x periods ago. Periods could be years, months, weeks, quarters; as defined by the level variable in the time series function. So, based on a prompted period, say Mar-2012, the BI server does not have any inbuilt calendar logic that knows that two periods ago it was Jan-2012. Our calendar could be defined using some strange period names e.g JN10-11, FB10-11, MR11-12 etc. We need to tell the BI server how these periods are sequentially (or chronalogically) related. This is where the chronological keys come in which we define in the dimension.
    Also, ensure that the aggregation method of the base measure is Sum.
    Check the syntax you are using for the time series function:-
    AGO(measure, time dimension level, number of period(s) ago) e.g. AGO(Core."Fact - Project Cost".Cost, Core."Date - Fiscal Calendar"."Fiscal Period", 1)
    Do you get any RPD consistency check errors? Have you created a logical join between the fact and the dimension tables in the business model?
    Finally, have you looked at the physical SQL being generated to get some pointers? You can do this by ensuring that the log level variable is set appropriately to display physical SQL in the query logs (e.g. level 2).
    Please mark helpful/answered if this has been useful,
    Andy.

  • I am trying to use itunes, it will not open at all, have uninstalled and downloaded new software and 64bit for windows. i have an old ipod nano from about 5 years ago. anything i can do, even to view my purchases and watch/listen to music etc?

    ok i have a advent roma laptop with window 7. my itunes used to work fine, completely. every time i plugged in my ipod it was ok. recently my ipod was not working so i never bothered with itunes, however i have movies/tv prog that i purchased and would like to view them. i have an ipod nano from about 5 years ago, the problem with thet is, it switches on, but the circular control panel does nothing, all you can do is lock and unlock it - nothing else.
    i tried to download new version of itunes, then uninstalled my origonal version, incase it was corrupted etc, i then again tried to down load new version and also version that is windows 64bit. still when i select the downlaod to open as son as it is finnished nothing happens. and now my desktop shortcut has dissapeared. before when it was there, id double click it, nothing, right click to open it, nothing.
    im not the best technically minded but i just dont see what im doing wrong here, please help

    Perhaps it would be helpful for you to view the page source code of this page
    http://www.alanwork.com/
    As you can see, the submenu code links are immediately below the top level code, and are
    wrapped in their own  <UL> </UL> tag pairs.
    Hope that helps

  • Yesterday, as today's deadline for filing tax returns approached, I was paralyzed by the inability to create new IRS PDF forms and to retrieve archived ones from a year ago. My computer went crazy. 24 hours later, I am still paralyzed. Can you help?

    My computer went crazy yesterday on two occasions involving PDF documents. One dealt with attachments to an email from a bona fide corporation. The other dealt with IRS PDF forms & schedules needed for today's submission.
    As both dealt with PDF and had nothing else in common, I suspected my PC had a virus. When I asked a local store technician, he agreed. I turned to Norton, which protects my PC from viruses, and after a few hours of really thorough searching, the computer was found to have no viruses.
    Before describing what I call "crazy" computer behavior, you need to know that I have long had IE8 as my default browser but a few weeks ago switched to Mozilla Firefox because IE8 had beome incompatible with some websites from which I get information.
    When I received the email from AT&T email service and clicked the first of four icons representing attachments, there was figuratively an explosion on my monitor: a series of new tabs, each called New Tab, burst onto the monitor--but no text or picture. The new tabs appeared faster than I coul kill them. I finally decided just to shut down the computer, hoping they would not reappear when I restarted. I was wrong. After 2 repeats, I decided to forget about the attachments and asked the sender to send them to me by regular mail.
    That was no solution for my IRS PDFs. I wanted to complete filling in the various forms and schedules that I had begun months ago so that I could mail them today to the IRS (without having to copy them all in ink). When I tried to open the first one, BOOM. The same thing happened: the blizzard of New Tabs atop blank pages; my IRS form or schedule did not show up. Did the same shutdown/restart routine with the same results.
    When I looked at the list of current forms that had to be completed, I noticed something very strange: the icons that began the listing of the documents' names were replaced one by one by Mozilla icons. When I moused over them, they said Firefox HTML. Why?
    Starting the day today, I had the same experience. What's more, when I started to retrieve 2012 IRS PDFs from a year ago, the same New Tab tabs appeared and had to be killed, and Mozilla icons replaced whatever icon was there before.
    Assuming that the problem arose with Adobe Reader's reading of the PDFs, I contacted Adobe but got no helpful phone number because PDFs are a free service and was directed to use this Forum to get help.
    What do I have to do to (a) read and use PDFs in the normal way and (b) remove the Mozilla icon from those that have appeared on icon documents. If Mozilla is the source of the problem, shall I go back to IE8? (In my 80s, I want eventually to replace my old computer but for the time being I must continue using it. It will not take an IE9. Anther possible default browser would be Google Chrome, but I have unfavorable impressions of it because of its intrusiveness, loading my PC with stuff I do not need.
    Can you help?

    The problem is absolutely not Reader. The problem is that FireFox has stepped in front of Reader and handles all the PDF stuff - wrongly in your case. FireFox is DESIGNED to take over PDF files. But it is not capable of doing IRS forms!
    To start with go back to IE for these forms. When you save them to disk DO NOT DOUBLE CLICK ON THEM until this is fixed. Just open the in the normal way - start Adobe Reader and use Open from the File menu.

  • I buy adobe creative suite for teachers and students about one year ago but now i'm not longer a student. Can I still use this programs legally for commercial purposes or do I have to buy some upgrades or something like this? Please help

    I buy adobe creative suite for teachers and students about one year ago but now i'm not longer a student. Can I still use this programs legally for commercial purposes or do I have to buy some upgrades or something like this? Please help

    The license did not have use restrictions Licenses and terms of use | Adobe
    BUT... when your one year Education account ends, I do not think you will be able to renew at the Education rate

  • I have been a loyal customer for years and have a hot spot because internet options are very limited in our rural area.  I have stayed with 10G since the beginning.  Most months I don't use the 10G.  Verizon has no problem with me paying for Data I don't

    I have been a loyal customer for years and have a hot spot because internet options are very limited in our rural area.  I have stayed with 10G since the beginning.  Most months I don't use the 10G.  Verizon has no problem with me paying for Data I don't use.  This month my daughter comes home from College and she accidentally uses 24G.....14 over get blind sided with $140.00 in overages.  I called Verizon today......stopped in to the store today......My neighbor told me they waved charges for her one time.  Lots of charges.....But I'm am getting no help.  Not even an offer of a payment plan to help me out.  I went back just 6 months and I have over paid for 19G.....Seems like they would like to help out their loyal customers!!!!     Does anybody have any suggestions on how to deal with them?   We are not wealthy....or I would just pay this and walk away......

    There is a big misconception in what customers believe a cell carrier is obligated to do.
    You pay a set price to use up to that amount of xx data. It makes no difference if you use it to the paid limit or way under. Its like peace of mind when you don't have to worry about a data counter.
    Your daughter used the data, your plan is quite clear of what overage charges are. Why should or would Verizon wireless just forgive the charges because you are a customer? Your daughter used the data, get the money from her. That is the responsible thing to do.
    There is no "I have been a loyal customer so please remove the $120, or $250, or $2,000.00 since I did not mean to use it"
    Your electric company, or gas company or any other company does not remove valid charges. Why should Verizon wireless?
    Just pay the invoice and don't think you are being mistreated because Verizon is a business and not a charity.
    Good Luck

  • HT204053 Somehow the very first email I had years ago that I don't even remember the password for, keeps coming up as my apple ID, when I want to make any purchase on ITunes. Why won't my real ID come up, and I can't find the right solution?

    Does anyone know how to eliminate a mistaken apple ID that you still use as an email
    but for some reason, now when I go to make a purchase at ITunes, it  brings up this email
    as my apple ID instead of my actual Id and it will not take the current password I have for
    this email. Somehow I believe it is confused, because years ago this was my first email, and
    it had a different password way back then, that I no longer remember.
    I am very sorry if this all sounds confusing, but my Mac book has been out of commission for the
    past year, and I have been recently trying to work on it, and I am not suave on the computer at all, so
    if my next question sounds lame, you'll know why... I wondered if that may have caused any of my
    latest hitches, only because when I first purchased Mac, 4 years ago, this rogue email was the one
    I signed up with everything on my Mac, but I have not been using it for the past 9 months, just my
    iPhone, until that died 3 months ago, and then I got this new I phone 5 2 months ago, thinking my
    problems would be..., a thing of the past,??, for at least a little while??? But NO, they have not,
    However, I'm sticking to the problem at hand, I have a full functioning apple ID that works and at
    some occasional times, ITunes would bring the correct ID up. And only once in a while bring the
    Bogus one up. But in the last few weeks, all it asks for now is the wrong ID and my frustration has
    reached its max!!' I have missed out on purchasing two apps I needed, and some music I wanted,
    and I don't think I'll be able to even use ITunes at all until I can know how to make my devices realize
    that my email is an email, not a apple ID, and then make it accept my real ID!!!
    Without having to eliminate, or delete my email address I still use, and receive mail
    at. Please forgive this lengthy explanation!!!
    I was only trying to make sense, if I confused you
    more, I'm very sorry... Thank you for any brave ones that tackle this, and actually have some
    Solutions for me.., I thank you much indeed!!  Sincerely  Kim

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I have an IPad mini and I changed the Apple ID and the password almost one year ago and, for a while, a message asking me to sign in to iCloud pops- up constantly. My iCloud account is registered with an old email and password. I do not remember the

    I have an IPad mini and I changed the Apple ID and the password almost one year ago and, for a while, a message asking me to sign in to ICloud pops- up constantly. My ICloud account is registered with an old email address and password. I do not remember the password to my ICloud account, and ID address that my ICloud account is registered under is an old email adress which is deleted right now (the old mail account is deleted). I don’t have a rescue email adress and I don’t know the answers to the security questions, so I have no way of changing the ICloud password. A message asking me to sign in to ICloud pops up constantly, but I always just hit cancel. However, now I am unable to access Find My IPad. How do I get my ICloud account changed and registered to be under my current Apple ID (email) and password? It is possible to set the device as New Ipad?

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • I have an "old" Apple ID set up 13 years ago.  Apple has now gone to using email address as the apple ID.  I have apps to update and they ask for old ID.  it does not exist.  How can I get the ID on the app changed to the new apple ID

    I set up an apple id many years ago when itunes was established.  Within the past year or so, Apple has changed to using email address as user id.  My problem is that I have many applications that I can not update due to the fact that it is asking for the password of the old ID.  It does not exist anymore.  Any ideas on how to get the new apple id associated with the application without deleting the application.  Several of these apps I purchased.

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6". Where can I find it? Thanks for

    Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6“. Where can I find it? Thanks for your answer! Jana

    Prompted to install Java SE 6 Runtime | Mac OS 10.9
    Mylenium

  • I have been using Safari for years and have always kept it on "private." Starting two days ago, I suddenly found myself unable to log onto my blog and many other sites that I normally log onto when private is set. Why?

    I have been using Safari for years and have always kept it on "private." Starting two days ago, I suddenly found myself unable to log onto my blog and many other sites that I normally log onto when private is set. This so annoying, I just switched to Firefox. I don't like Firefox nearly as much as I like Safari. What is happening? How do I fix the problem?
    Thank you.

    Might be a corrupted database ...
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • My wife and I got Iphone 4S same day 2 years ago. I used the same Apple ID for both. We do not use iCloud, but today after I updated my phone to IOS7 I keep getting her texts on my phone ans vice versa.

    My wife and I got Iphone 4S same day 2 years ago. I used the same Apple ID for both. We do not use iCloud, but today after I updated my phone to IOS7 I keep getting her texts on my phone ans vice versa. I turned off imessage in message settings. Seems to have stopped now? Never did this before IOS7. Will I have more troubble when her phone updates to IOS7? Is icloud going to be forced on me then?

    This is being caused by using the same Apple ID for iMessage on both phones.  To separate your messages, go to Settings>Messages>Send & Receive and do one of the following:
    Either uncheck the email address shown under "You can be reached by iMessage at" on both phones; or
    If you want to continue to receive iMessages at this email address, on one of the two phones, tap the Apple ID at the top, sign out, then sign back in using a different Apple ID.

  • How can i display for example certificates in a way that it like power point? in Iweb. idid 1-1 on this a few years ago and forgot how this worked

    some years ago. i did 1-1 sessions at Apple mac regent street when i was designing my website. I have IWEB 08 and at one
    pint ihad designed posters in pages and displayed them on my I web site...
    it was displayed in a way that the pictures rotated as in a gallery , it may have used i photo but I really can't recall.. does anyone have any idea
    or like a slideshow type thing.
    i have a bunch of certificates to qualify for writing and other stuff which are boring to look at and I think a page on the website with those displayed would be better than having them as static fixed icons that can be downloaded
    . has anyone else done this...
    I know 2008 is probably regarded as ancient in the apple world, but we did that on that in 2009 and it worked so i know it's dooable.
    any ideas out there..?

    Is the website still up?  If so what's the URL of your site so we can examine it first hand?
    One method is to create an image file of each certificate and add it to a photo page where they could be viewed in a modified slideshow developed by Cyclosaurus on this demo page: Page-7 .  The code used in the HTML snippet is shown.
    OT

Maybe you are looking for

  • Start up issues on MacBook Pro from 2008

    My mac book on wich my life depends, got "sick" and can't start up. two weeks ago I tried to install an external HD to have a back up copy of my stuff, everything looked fine until I restarted it, it restarted really slowly and when it tried to sign

  • Organizational Hierarchy for workflow in PPOMW

    Hello,   For my workflow, I'm maintaining an organizational structure in PPOMW and have added positions such as CEO, manager, officer, clerk to that structure. I've also assigned users to each of the above positions. Finally, I've checked the checkbo

  • ActionListener new way to use ?

    cancelButton.addActionListener (new ActionListener () public void actionPerformed (ActionEvent e) System.exit(0); This is an small piece of code that I am having some troubles with, when using it with J2SE 5.0 , no compilation errors are returned or

  • Thunderbird crashes all the time on Windows 7

    Ever since I've installed Windows 7 (almost a year ago, I think), Thunderbird has been crashing constantly. None of the upgrades over the year have helped. It crashes about every 2 hours. When I send the Crash report to Mozilla, I get the message tha

  • Computer Brightness

    Hello, I've had my laptop for over a year now and I'm going insane to be honest. When my laptop is plugged in my screen gets brighter. When my laptop isn't it gets dimmer. I've restored my computer to factory settings around two times and it still ha