Year Ago Measure group by problem.

Hi,
In my report I have two measures Revenue and Revenue Year Ago.
Revenue Year ago is calculated based on the Ago functionalty and the time dimension level is "Year"
AGO(Fact.Revenue, TimeDimnesion."Year", 1).
The problem is that the column measure Revenue Year Ago is not getting added up to display data when we select based on the time dimension.
e.g.
Dimnesion Month-Code Revenue Revenue Year Ago
A Jan-10 100 90
A Feb-10 200 160
B Feb-10 250 200
In my report I want to display the Dimension, Revenue and Revenue Year Ago for the month of 'Jan-10' and 'Feb-10'
so that automatic group by happens for the measures like this.
Dimnesion Revenue Revenue Year Ago
A 300 250
B 250 200
But this is not happening when I apply the filter for Month-Code in ('Jan-10' and 'Feb-10') and the result what OBIEE gives is null value for Revenue Year Ago.
Dimnesion Revenue Revenue Year Ago
A 300 NULL
B 250 200
But when I remove the Month-Code filter it gives the correct result.
So is there something that I am missing out. Please advice.
TimeDimnesion Hierarchy is Total(Grand Total) -> Year (Year Id, Year Code) -> Qtr (Qtr Id, Qtr code) -> Month
(Month-Id,Month-Code) -> Detail (Day-Id, Day-Code)
Regards,
Bhavik

if you can give a small test case to play around, it
might be helpfule.
put the data in the table and show the output you
desire.An example-
STORE
StoreID StoreName Location
s1 ABC NY
s2 XYZ LA
PRODUCT
ProdID ProdName
p1 foo
p2 moo
TRANSACTION
TransID Fiscal_Yr StoreID ProdID Rating Price
t1 2002 s1 p1 A 10
t2 2002 s1 p1 A 80
t3 2002 s1 p2 A 15
t4 2002 s1 p1 B 20
t5 2003 s2 p1 B 50
If the query below is executed-
SELECT t.Fiscal_Yr, s.StoreName, p.ProdName, t.Rating, SUM(t.Price) Revenue
FROM STORE s, PRODUCT p, TRANSACTION t
WHERE s.StoreID = t.StoreID
AND p.ProdID = t.ProdID
GROUP BY t.Fiscal_Yr, s.StoreName, p.ProdName, t.Rating
ORDER BY t.Fiscal_Yr, Revenue DESC
then, we get
Fiscal_Yr StoreName ProdName Rating Revenue
2002 s1 foo A 90
2002 s1 foo B 20
2002 s1 moo A 15
2003 s2 foo B 50
But, irrespective of different ratings for the same product, the revenue should be added and I should get rating as listed in the first transaction for that product for a particular store and Fiscal_Yr. So, my desired result should be-
Fiscal_Yr StoreName ProdName Rating Revenue
2002 s1 foo A 110
2002 s1 moo A 15
2003 s2 foo B 50

Similar Messages

  • How to find the year ago measure with out using time series functions

    hi all
    is there any way to find year ago sales with out using time series functions like ago
    Thanks
    Sreedhar

    Hello Madan,
    Thanks for the reply.
    It still doesn't consider the product into account.
    My columns are as below
    Prod Week End DATE Current Sales Prior Sales % Change
    A 12/4/2010 100 0
    A 12/11/2010 200 100
    A 12/18/2010 300 200
    B 12/4/2010 400 300(this value is not for prod B, i want this to b 0 aswell. But we get product A's last sale amount)
    Is there any way this can be done. I have tried evaluate,MSUM.
    I cannot build a time dimension as all I have is a view.
    Thanks,
    Deep

  • Hello. I have a problem with the iphone. I had the misfortune of Smader it for a half years ago. but now all my pictures away. and I think it is a security various measures. what should I do?

    hello. I have a problem with the iphone. I had the misfortune of Smader it for a half years ago. but now all my pictures away. and I think it is a security various measures. what should I do?

    ckuan wrote:
    iCloud pushes all your photos to the My Photo Stream album on your devices and computers, and manages them efficiently, so you don’t run out of storage space.
    Your iOS devices keep a rolling collection of your last 1000 photos in the My Photo Stream album. From there, you can browse your recent photos or move the ones you like to your Camera Roll or another album to keep them on your device forever.
    (Here's that part I'm bolding for you to reference): Because your Mac and PC have more storage than your iOS devices, you can choose to have all of your My Photo Stream photos automatically downloaded. In iPhoto or Aperture preferences on your Mac, select Photos (or Photo Stream) > My Photo Stream > Automatic Import. All of your photo stream photos will be imported into your Events, Projects, Photos, Faces, and Places folders in iPhoto or Aperture. On your PC with My Photo Stream enabled in the Control Panel, all of your photos will be imported into C:\\Users\<user name>\Pictures\iCloud Photos\My Photo Stream. For iCloud Control Panel 2.0 to 2.1.2 users, the path isC:\\Users\<user name>\Pictures\Photo Stream\My Photo Stream .
    Exactly.  It keeps a collection of the most recent 1000 photos in your Photostream Album on your iOS device.  That's the limit of the displayed images on an iOS device.  Not the upper limit of storage.  It's like the call history.  You can have more than 100 calls, but only the most recent 100 calls show on the device. You can still get your entire call history from your wireless carrier.  And you can still download all of your Photostream photos from Photostream using iCloud Control panel on a PC, or the iCloud option in System Preferences on a Mac.
    iCloud: My Photo Stream and iCloud Photo Sharing limits
    http://support.apple.com/kb/HT4858
    http://help.apple.com/icloud/#/mmc0cd7e99
    My Photo Stream upload limits
    The My Photo Stream limits below are established based on anticipated upload patterns. Currently, My Photo Stream upload limits are as follows:
    Uploads to My Photo Stream per hour: 1000 photos
    Uploads to My Photo Stream per day: 10,000 photos
    Uploads to My Photo Stream per month: 25,000 photos
    If you exceed one of these limits, your uploads to My Photo Stream will be paused temporarily and you may see a notification message on your device. Your uploads will resume automatically after you no longer exceed one of the limits, such as in the following hour or on the following day.
    You can upload 10,000 photos in a single DAY.

  • Problems with Photoshop CS2 I originally purchased this software several years ago. At time I was running Microsoft Windows XP. This computer recently was replaced with  a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few

    Problems with Photoshop CS2
    I originally purchased this software several years ago. At time I was running Microsoft Windows XP.
    This computer recently was replaced with a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few exceptions as follows;
    when the software comes up initially I get a message that says “could not complete your request because of program error”. Hitting OK allows me to continue using the software .
    When I try to activate a function using CTLR or ALT keys I get this message “required application failed to load and the product cannot continue. Please reinstall the application”. This causes the application to abort.
    Reloading my CS2 continues to generate the same messages when I depress the CTLR or ALT keys.

    Your original copy is obsolete and Adobe is offering a free replacement you are entitled to. Download and use that and that should clear it up for you.
    https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml
    Download this copy of CS2 and use the serial number provided next to the download link.

  • 1 year ago i installed Elements 12 on my PC with a serial number.  Today i have installed Elements 12 also on my laptop. But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this progra

    One year ago i installed Elements 12 on my PC with a serial number and it was OK.
    Today i have installed Elements 12 also on my laptop.
    But,...there is a problem with validation of the serial number on my laptop. Is there a need to validate Elements  or will this program real disapeare in 7 days?
    Hans

    Hi,
    Since you already have one copy activated the serial number must be logged in your account details - I would first check that the one logged and the one you are attempting to enter are the same.
    You can check your account details by going to www.adobe.com and clicking on Manage Account. You need to sign in with your Adobe Id and then click on View All under Plans & Products. Next click on View your products and after a while it should produce your list.
    If there is a problem with the serial number, only Adobe can help you there (we are just users). Please see the response in this thread
    First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and ge
    Brian

  • When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and th

    When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and they no longer play in the monitor window. I hear the sound track, but do not see any video. Have I changed some setting that controls video playback in the monitor window?

    Randy Ruttger
    Thanks for the follow up.
    Missing in this equation were the version of Premiere Elements that you were using and the computer operating system on which it was running. But...
    The deed is done. But.....Until now and after you went ahead and moved to version 12, we now learn what version of Premiere Elements you were using. We still do not know the computer operating system involved.
    You just said Premiere Elements 10. Premiere Elements 10 is hit by a serious known display issue if the computer uses a NVIDIA GeForce video card/graphics card. In this issue, the only remedy is to roll back the driver version to about May 2013. The description of the problem and how to do the roll back are described in one of the Announcements at the top of this forum. What video card/graphics card does your computer use?
    On another front, Adobe will be releasing a new version of Premiere Elements any day now. No one but Adobe knows the feature set for the new version. That type of information is announced at the moment of release of the new version.
    So the remedy to the problem that you presented in this thread could have been...
    1. Rolling back the NVIDIA GeForce driver version to about May 2013 if possible (Windows 8 or 8.1 64 bit, may not be possible)
    2. Move to another version of Premiere Elements (which you did)
    I offer the above for consideration so that you can review your decisions. We are pleased to learn that Premiere Elements 12/12.1 works for you.
    Please do not hesitate to ask questions and ask for clarifications, but remember that the answers are in the details.
    Best wishes,
    ATR

  • I have an IMac 10.5.2 from about 5 years ago and recently my flash player stopped responding.  I tried to update my flash player but it tells me I need an updated system to install the player.  Can anyone help me figure out how to solve this problem?

    I have an imac osx 10.5.2 from about five years ago and recently my flash player stopped operating/responding.  Does anyone know if I have to install a new flash player?  I have attempted it several times and it won't let me.  I would appreciate any suggestions on how to solve this problem.  Do I need a new operating system?

    Why have you not updated to 10.5.8?
    You can check here:  http://www.adobe.com/products/flash/about/  to see which version you should install for your Mac and OS. Note that version 10,1,102,64 is the last version available to PPC Mac users*. The latest version,10.3.183.23 or later, is for Intel Macs only running Tiger or Leopard, as Adobe no longer support the PPC platform. Version 11.4.402.265 or later is for Snow Leopard onwards.
    * Unhelpfully, if you want the last version for PPC (G4 or G5) Macs, you need to go here:  http://kb2.adobe.com/cps/142/tn_14266.html  and scroll down to 'Archived Versions/Older Archives'. Flash Player 10.1.102.64 is the one you download. More information here:  http://kb2.adobe.com/cps/838/cpsid_83808.html
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/909/cpsid_90906.html
    and also that you follow the instructions closely, such as closing ALL applications (including Safari) first before installing. You must also carry out a permission repair after installing anything from Adobe.
    After installing, reboot your Mac and relaunch Safari, then in Safari Preferences/Security enable ‘Allow Plugins’. If you are running 10.6.8 or later:

  • I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC file?

    I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC file?

    Gary116 please remove and reinstall Lightroom by following the steps listed in CC desktop lists applications as "Up to Date" when not installed.  The version of Photoshop Lightroom available through the Creative Cloud Desktop application supports your Creative Cloud Membership.

  • I purchased CS6 2 years ago (or more) I now keep being asked to register, I also find Bridge is running slow in building the cache is this two problems or are they interrelated  - any help please.

    Hello could anyone advise me please:
    I purchased CS6 Student edition approx 2 years ago, and I have been using it pretty much on a daily basis.  Now it has suddenly started prompting me to register the software because the trial has ended. I did think about uninstalling and reinstalling but thought against this in view of the fact that CS6 is no longer available for purchase.
    I am also having problems with the speed of Bridge in building the cache it seems to take for ever - about 2 sec per image.
    Any help would be much appreciated.

    Sign in, activation, or connection errors | CC, CS6, CS5.5
    And for the Bridge cache simply flush it from the Bridge prefs and rebuild it - after doing disk maintenance liek defragmenting your drives.
    Mylenium

  • Macbook Pro 2,33Ghz Core 2 Duo Radeon X1600, it has been presentng screen artifacts since a year ago. It is not in warranty now, but I read in the web that plenty of people is having the same problem as an early degradation issue. Solution?

    Macbook Pro 2,33Ghz Core 2 Duo Radeon X1600, it has been presentng screen artifacts since a year ago. It is not in warranty now, but I read in the web that plenty of people is having the same problem as an early degradation issue. Sometimes the system freezes and stops respondign so I have to restart and lose all the unsaved work. A few moths ago, the Superdrive stopped recognizing the disc because of a firmware update released by Apple!! It is not acceptable. Solution?
    Apple should give a solution to all these people who spent more than 2500$ in a laptop that has stopped working in less than 3 years!
    http://reviews.cnet.com/8301-13727_7-10330060-263.html

    Yes, it appears the X1600 has more than its fair share of issues. I've seen reports of people reflowing the solder joints on/around the GPU with success, even baking the LB in the oven.
    The rest is something you'll have to take up with Apple.

  • I bought my iPhone 5 almost an year ago and since the last 2 weeks my battery lasts about 2 hours or less, while before it lastre a whole day. Can anybody tell me why is this happening or how can i solve my problem, please? Thank you.

    I bought my iPhone 5 almost an year ago and since the last 2 weeks my battery lasts about 2 hours or less, while before it lastre a whole day. Can anybody tell me why is this happening or how can i solve my problem, please? Thank you.

    You can follow these steps to save battery.
    1. Turn on Auto-Brightness - The iPhone has an ambient light sensor that adjusts the brightness of the screen based on the light around it (darker in dark places, brighter when there's more ambient light) to both save battery and make it easier to see. Turn Auto-Brightness on and you’ll save battery because your screen will need to use less power in dark places.
    Find it in the Settings app -> Brightness & Wallpaper -> Auto-Brightness On
    2. Reduce Screen Brightness -the brighter the default setting for the screen, the more battery it requires. Keep the screen dimmer to conserve more of your battery.
    Find it in Settings -> Brightness & Wallpaper
    3. Stop Motion (iOS 7) -It's really cool, but it also drains battery. You may want to leave it on to enjoy the effect, but if not, turn it off this way: 
    Settings -> General -> Accessibility -> Reduce Motion -> move slider to green/on
    4. Turn Bluetooth Off-  Turn off Bluetooth except when you’re using it to squeeze more juice from your battery.
    Find it in Settings -> Bluetooth -> Move Slider to Off
    5. Turn Off Location Services -
    This allows your phone to know where you are and give you exact driving directions, give that information to apps that help you find restaurants, and more. But, like any service that sends data over a network, it needs battery power to work. If you’re not using Location Services, and don’t plan to right away, turn them off and save some power.
    Find it in Settings -> Privacy -> Location Services -> Slide to Off
    6. Don't Automatically Update Apps (iOS 7)-
    If you've got iOS 7, you can forget needing to update your apps by hand. There's now a feature that automatically updates them for you when new versions are released. Convenient, but also a drain on your battery. To only update apps when you want to, and thus manage your battery better:
    Settings -> iTunes & App Store -> Updates -> move slider to off/white
    7. Auto-Lock Sooner -
    You can set your iPhone to automatically go to sleep – a feature known as Auto-Lock - after a certain amount of time. The sooner it sleeps, the less power is used to run the screen or other services. Try setting Auto-Lock to 1 or 2 minutes.
    Find it in Settings -> General -> Auto-Lock -> Tap your Preference
    Few more things that would consume battery even when not is use are the applications that run in background.
    Follow the below steps to quit all running applications.
    1) Double tap on the home button on the iPhone ( this will display all apps that are running in the back ground).
    2) Just click on the tiny red X to quit application ( if iPhone is running on iOS 6 and below) else just swipe yhour finger over the running app upwards to quit ( if running on iOS7).

  • I bought an Adobe writer program a few years ago, and have had no problem saving information I've added to pdf forms.  For some reason, I can no longer save the information that I enter.on the form.  In fact, I get a message that the information will NOT

    I bought an Adobe writer program a few years ago,and have have had no problem saving information I've added to pdf forms.  For some reason, I can no longer save the information that I've entered.  In fact, I get a message that the information will NOT be saved.  How can I correct this?  Thanks!

    Hey louiseg45826294,
    Thank you for posting on Adobe forums.
    Could you please let me know what Adobe Writer program you are talking about. Is it Adobe Acrobat or Reader?
    Could you please share the screenshot of the exact error message that appears.
    Are the PDF forms saved on your computer's local drive?
    Hope to hear from you.
    Regards,
    Anubha

  • My PS cs6 ask me to buy the program.  I bought it several years ago.  This is the third or 4th time I have had to talk to someone to straighten the program out.  How can we remedy this problem PERMANENTLY?

    My PS cs6 ask me to buy the program.  I bought it several years ago.  This is the third or 4th time I have had to talk to someone to straighten the program out.  How can we remedy this problem PERMANENTLY?

    What steps are you following each of those times to get things working again?
    The way that Adobe activation and serialization works is kinda like signing into a website. When you log in, a cookie is left on your computer so that you don't have to sign in every time. With Adobe activation and serialization, you get similar cookie files, that way you never have to go through that process again. Adobe never touches those files again, it just checks them to make sure they are there.
    You issue you are encountering is the result of this sort of cookie file being deleted, damaged, or invalidated in some way. In most cases, it is because of cleaning software treating it like a website cookie, thinking it is unimportant, and removing it. However, there are many other possibilities including files becoming corrupted due to disk or file handling errors by the system and major system changes.
    To take care of the problem permanently, we have to find out exactly what the source of the issue is on your computer and eliminate it (or mitigate it if removing third-party software is out of the question).

  • I have a MacBook Pro that I bought almost a year ago, next day problems with the hard disc that could not be diagnosed by the service, after 3 months they realized it and changed it with a new one, after 3-4 months heated and shut down and dont work anymo

    I have a MacBook Pro that I bought almost a year ago, next day problems with the hard disc that could not be diagnosed by the service, after 3 months they realized it and changed it with a new one, after 3-4 months heated and shut down by itself and dont work anymore. From apple say even a year has not passed it is not under garancy and I should pay to fix it without ans issue.

    I have a MacBook Pro that I bought almost a year ago, next day problems with the hard disc that could not be diagnosed by the service, after 3 months they realized it and changed it with a new one, after 3-4 months heated and shut down by itself and dont work anymore. From apple say even a year has not passed it is not under garancy and I should pay to fix it without ans issue.

  • I installed Adobe CS6 Design & Web Premium on my Mac Book Pro a few years ago but have repeatedly encountered problems with the programs freezing or not opening properly. It's a Student and Teacher Licensing version so an academic ID is required but I am

    I installed Adobe CS6 Design & Web Premium on my Mac Book Pro a few years ago but have repeatedly encountered problems with the programs freezing or not opening properly. It's a Student and Teacher Licensing version so an academic ID is required but I am no longer a student--can I still reinstall it since my academic ID may no longer be valid?

    Erin Elzo as long as the serial number has been registered under your account at http://www.adobe.com/ then you should be able to continue to utilize the software.  You can find details on how to locate your registered serial number at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.

Maybe you are looking for

  • Need Help Upgrading Acrobat 8.0 to 8.1.2 on MAC

    I am trying to upgrade Adobe Acrobat Professional 8.0 to 8.1.2, but I'm having some trouble. I downloaded the Acrobat 8.1.2 Pro Patch Updater. When I open the icon, a window opens up that reads: "Acrobat 8 Pro Patch" is an application which was downl

  • Adobe CS6 is now a trial license of extended

    I have multiple end users at my company using various applications.  For the sake of this forum, one of the applications is Photoshop CS6 that was installed and licensed back in 2012.  All of a sudden, the user is getting a trial version of CS6 exten

  • Change default port number for web logic!

    Hi folks, In my scenario, i already installed obiee 11g with simple install along with web logic on windows xp machine.where this will creates default port number for all services. now i want to change default port number of web logic that is 7001 to

  • AirPort Extreme After My Computer Sleeps

    When I wake up my MacBook from sleeping, something I try to avoid in the first place, I always lose my connection to the external HD plugged in to my AirPort Extreme. I'll still have a connection to the internet, but I'll be logged in as a "Guest" on

  • HT201210 App down load has frozen at the "Download Now" stage

    App down load has frozen at the "Download Now" stage