Ago function not working properly with time dimension

Hi all,
In OBIEE 11g we have the following issue:
We have a fact which contains transaction's sum for the last day of each month.
We use ago function like this : ago(<fact.column>,1)When we want to see the result from the time hierarchy the fact with the ago function works properly for quarters and half years but for the months shorter than the previous one can't take the right value /equals to NULL/.
For example :
sum for YEAR: 10000
sum for Half Year 1 : 4000
sum for Half Year 2 : 6000
sum for Quarter 1: 1000
sum for Quarter 2: 3000
sum for Quarter 3: 2000
sum for Quarter 4: 4000
sum for month... - here the ago function is confused with the last day of previous month if it's shorter than itself: For example - for march it cannot take value for end of February ..etc.
Any ideas?
Thanks in advance,
Alexander.

Hi,
I faced some issues previously with month, so I used month+year as id instead of month id. Instead of tragging month id 1-12 into your hierarchy, create another column into your table like month+year - 201201, 201202 which creates unique month_year_id and drag this column into month level instead of month_id. So the problem might be solved.
Regards,
Anitha.B

Similar Messages

  • HP computer will not work properly with an HP printer

    I have the following two items that I am trying to use together:
     - HP 23" TouchSmart Desktop, T6500 2.1GHz 4GB DDR3, 500GB HDD (Windows 7)
     - HP OfficeJet 6500 Multi-Function Printer/Scanner/Fax
    When I try to scan to Adobe Acrobat Professional 9.0, the document goes through the scanner, however the dialog box that I would expect (e.g. "Next Page" or "Done") never shows up.  At this point, the system is unresponsive with respect to Adobe or the printer.
    I suspect that it is waiting for the input from the dialog box that never showed up.  I tried to move the other windows to see if the dialog opened in the background, however I am not able to select any of them (they remain frozen).
    I contacted HP Support, only to have them tell me it must be the driver, and I have an "old" printer.  (I did not realize that a 9 month old printer was considered "old").  I have tried all of the possible drivers that are available (original disk, downloads, other downloads from HP tech support), none of these resolves the problem.
    In any case, they were unable to resolve the problem of having an HP computer work properly with an HP printer.  (The printing function seems to work, just very slowly).
    Has anyone else heard of this?  Is there a resolution?

    Update: I am still looking for a solution to this problem - the scanning portion of the Multi-function OfficeJet 6500 does not work properly with the HP TouchSmart computer.
    I have not been able to find anyone in HP that can tell me when (or if) new drivers will be released for this printer.
    I decided to investigate upgrading to a newer version of printer since HP told me the 9 month old printer I have was "obsolete", only to find that the identical printer is still on sale in many stores.  Hmmm....
    I feel like I am getting the run-around from HP.
    I have since tried several more driver/software combinations, but every time I have the same problem (as described in the previous post).
    If anyone has any ideas or suggestions, I would be most happy to hear them.
    Thank you.

  • Remote not working properly with Apple TV...sporadic fuctioning

    Hello,
    I have no idea what caused this to happen, but both my remotes (I have one from my MacBook Pro and one from my AppleTV) seem to not work properly with AppleTV. It sometimes works but it is extremely frustrating as it only registers about 1 out of every 10-20 clicks then continues to remember the previous clicks therefore making it essentially impossible to select the desired menu/item. Basically it just seems like it's out of control!
    I tested whether it was the remote or AppleTV that was causing the problem by running Front Row on my MacBook Pro and both remotes seem to navigate Front Row perfectly fine. They both act the same way with AppleTV, whether they are paired or not. It seems as though something happened with my AppleTV. This problem occurred randomly, with no specific cause I can think of.
    Please let me know if any of you have ever experienced this problem and what your solution was, if any!
    I have tried restoring to factory conditions, resetting settings, ran diagnostics, unplugged and replugged it, and nothing seems to be working!
    Oh, and I just replaced the battery on one and have tried swapping batteries, etc.
    HELP PLEASE!
    Thank you,
    Travis

    The menus have never been as responsive as they used to since the 2.0 update in my opinion - basically AppleTV seems to cache/buffer remote click if it is busy or perhaps waiting for something to stream from itunes, and when resources become available it suddenly executes all command rapidly which makes it behave wildly in menus.
    Usually happens I find after restarting the unit or if streaming drives have gone in to power saving modes and there's a delay while they wake up to feed the AppleTV.

  • Help, web cam is not working properly with win vista

    Hii.. my web cam is not working properly with win vista..even if the icon appears bt it does nt start.. its
    lenovo easy capture 2.5...so if u cud suggest me anything...
    Moderator note; subject edited

    re-install drivers and try again. ( also easy capture )

  • Hi, My iPhone 4s does not work properly with the sound.

    Hi, My iPhone 4s does not work properly with the sound. It just ring. Any other app it doesn't make sound unless I have my headset or bluetooth. And it make me choose between "DOCK CONECTOR" or my "APPLE TV". Why? Or any sugestion plz

    Hi M3MB3R,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting tips in this article helpful:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic
    http://support.apple.com/kb/TS1631
    Cheers,
    Jeremy

  • My iphone 5 does not work properly with Ford Sync,

    Hi, My iphone 5 does not work properly with Ford Sync, everytime I pair the phone, Ford sync navigation system freezes and does not work !
    Can someone help.

    Hi M3MB3R,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting tips in this article helpful:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic
    http://support.apple.com/kb/TS1631
    Cheers,
    Jeremy

  • TS4002 Icloud Mail doet not work properly with PC since a few days!!!

    Icloud Mail doet not work properly with PC since a few days!!!

    If you can't solve your issue and no one in the community can help, contact support to speak with a tech support agent at (800) 631-3811.
    - Peter

  • My garage band will not work properly with new lion upgrade..HELP

    My garage band will not work properly with new lion upgrade..HELP
    I have tried to open old session i have done in garage band and many of the effects and instruments I have used will not show up. The system seems to have a bug.

    If the graphical user interface looks broken, that is quite often a problem of corrupted user preferences - have you tried to remove the preferences file, as described in the FAQ
    http://www.bulletsandbones.com/GB/FAQPages/OddBallProbs.html
    Here is again the short version:
    Quit GarageBand, if it is running.
    Open your User Library in the Finder. It is hidden in MacOS X Lion, so use the Finder's "Go" menu:
    Finder > GO    hold down the "Options" key, until the library appears in the menu, select it.
    In the window that opens, open the folder "Preferences" and remove the file:com.apple.garageband.plist and com.apple.garageband.plist.lockfile
    Then try again to run GarageBand and download the loops.
    The preferences file stores all you user settings that you set using the "Preferences" panel in GarageBand, also the layout of the GarageBand window and the location of your recent projects. You will have to enter these settings again after removing the file.
    Regards
    Léonie

  • Sum() function not working properly. Instead of summing, its showing total count of the rows

    We have migrated one application from .net framework 1.0 to .net framework  2 (from Visual studio 2003 to Visual STUDIO 2005). Now after migration we are facing some problem related to the sum function in Crystal report 10. It is not working properly.
    So we migrated to Crystal report XI release 2 (though still using evaluation version for testing purpose), the problem is not yet resolved.
    The problem we are facing is while using the summary in the group field, it is showing the number of rows instead of the sum of the values.
    We have checked the same with min-max functions, and it is working properly with those.
    We have tried to make the sum by formula field. In such case, it is not showing any syntactical error but at execution time, it is throwing an error saying "A number field or currency amount field is required here".
    In the  the report the datatype of the field on which we are applying the sum function, is number, and in the table from where the data is fetched, the datatype is numeric(9,6).
    Any idea why sum function is not working ?
    I was browsing the net and saw running totals can be a work around for such summation issues in Crystal Report XI.
    Can you please provide insight of how to implement running totals for summation purpose in solving such issues.

    Hi,
    Running totals are more accurate than Summary Totals in Crystal.  Why? ...ask Crystal.  Anyway, just right click on Running Totals, create a new one, and enter you fields, etc. For group totals, it gives you a place to reset the totals for each group, etc.  Pretty self explainatory. 
    Jim

  • Sum function not working properly in Crystal XI. Its showing total count of the values

    We have migrated one application from .net framework 1.0 to .net framework  2 (from Visual studio 2003 to Visual STUDIO 2005). Now after migration we are facing some problem related to the sum function in Crystal report 10. It is not working properly.
    So we migrated to Crystal report XI release 2 (though still using evaluation version for testing purpose), the problem is not yet resolved.
    The problem we are facing is while using the summary in the group field, it is showing the number of rows instead of the sum of the values.
    We have checked the same with min-max functions, and it is working properly with those.
    We have tried to make the sum by formula field. In such case, it is not showing any syntactical error but at execution time, it is throwing an error saying "A number field or currency amount field is required here".
    In the  the report the datatype of the field on which we are applying the sum function, is number, and in the table from where the data is fetched, the datatype is numeric(9,6).
    Any idea why sum function is not working ?
    I was browsing the net and saw running totals can be a work around for such summation issues in Crystal Report XI.
    Can you please provide insight of how to implement running totals for summation purpose in solving such issues.

    Are you seeing this happen in the Crystal designer as well, outside of any .NET application?

  • Klipsch S4i headphones do not work properly with iPhone 5

    I've got a really weird issue with my iPhone 5.  I previously purchased an iPod Nano 16GB as well as Klipsch S4i headphones.  The headphones has a console with 3 buttons.  The topmost button is to increase volume and conversely, the lowest button decreases volume.  No problem with either of these buttons.
    The center button is operated by the number of times you push it.  One push pauses the track (song) being played.  A second push resumes play.  Two pushes in a row causes the iPod to advance to the next track in the playlist.  Three pushes in a row cause the iPod to go back to the beginning of the track being played.  If you push three times consecutively then you go back to the track prior to the track which is being played, and so forth depending upon the number of times you keep pushing three times.  With me so far?  So the S4i console works just fine with the iPod.
    However, the S4i console does not work well with the iPhone 5.  I went to the Apple store this evening and they restored (reset?) the iPhone 5.  I then restored the data to it from my computer once I got home.  So the state of the S4i console is this.  Push the center button once and it pauses.  That is okay.  Push the center button again and it resumes play.  Still good.
    Push the center button twice in a row and it sometimes advances to the next track.  Not always unless you are very fast at depressing the button.  Push the button three times and it may or may not go back to the beginning of the track.  This seems to be a function of 'how fast' you are pushing the button.  Literally, you have to be like Quick Draw McGraw on the darn button.  That is not the case with the iPod Nano.
    Pushing the button multiple times does not necessarily take you forward to the next track or at the start of the one playing or to the track before.  While typing this, I managed to get the center button to work better so I thought maybe it is going out.  But I don't experience that same problem with the iPod Nano and it was not a problem on the two tech's iPods/iPhones at the Apple store when tried with my S4i headphones attached.  So I don't think there is any issue with the center button on the S4i's console or those headphones in general.  I also don't think it is a hardware issue as the headphone jack does not seem loose.  I have only been using my iPhone 5 for about a week.
    In fact, I was able to get the advance function as well as the reverse function for going back to the beginning of the track to work by depressing the center button quickly but if you want to jump back a track then you really have to hit it quickly multiple times.  In trying to go back to the beginning of a track or jumping back another or multiple tracks, then if the track you went back to the beginning of begins to play then the pushing three times maneuver does not work.  I have no clue what is going on other than it has got to be a programming issue with the iPhone 5.  Call me a cynic but I have my doubts that exchanging my new iPhone 5 is going to make a difference.
    Moreover, on a number of occasions (more than 5) while playing tunes on the iPhone 5, it suddenly and randomly stops.  This happened before the device was restored this evening and I have not had the opportunity to really test it out besides seeing if there is still an issue with the S4i headphones and the iPhone 5.  I swear I did not touch or brush against the screen or depress any buttons when this occurred.
    Has anyone got an idea what might be the problem?  If so, I would be grateful if you could clue me in here.

    Maybe it's a safty issue. You should not be able to watch movies while driveing anyway. Does it work when the car is in netral or park and the emergency brake is on. In my lexus thats the only way the front DVD will work.

  • RFC adapter in XI 3.0 not working properly with BAPI in R/3 4.6C

    Here is the scenario.
    An XML file is received from our customer. This file contains purchase order information that is used to create a sales order in our SAP 4.6C system. Once the sales order is created an acknowledgement is generated and this is returned back to our customer in an XML format.  This scenario is working perfectly fine in our XI 2.0 system but is not working properly in our XI 3.0 test environment. Our custom function module in R/3 is a wrapper function that uses a standard SAP BAPI to create the sales order. Part of the function module does use the statement
    call function 'BAPI_TRANSACTION_COMMIT'
    The last thing the BAPI does is call another function module that using an RFC destination that will return and order acknowledgement.
    Here is what happens within XI and our SAP system.
    The XML file is received and mapped to our imported RFC. The RFC adapter is called and the information is passed onto SAP where our customer function module executed. The sales order is created within SAP without any problems and the second function module is called which references an RFC destination assigned to our XI 3.0 system. The information is sent back to XI and an appropriate file is created for our customer.  All seems to be working properly except that when the original RFC is sent from XI to SAP,  SAP creates a short dump stating
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:" Then it is put back into the que where 5 minutes later it executes again and trys to recreate the sales order in SAP. (again, this same function module executing from XI 2.0 works fine)
    I believe I have everything configured properly because the SAP side is being executed and I am successfully passing information back from SAP to XI. However the original function module in SAP is failing with the above error message. It appears that the original function module cannot communicate back with XI. I have had SAP looking at this issue and they have not been successful yet in solving this problem.
    Any ideas.
    Thanks,
    Jim d'Hulst

    Hi,
    I think the problem is with the send back of acknowledgement to XI. Does the DeliveryException state something about the sender agreement? I guess you are using a statement like below:
    CALL FUNCTION 'ZABCD'
    destination <tcp/ip destination>
    exporting
    input = ack.
    In that case, check whether the TCP/IP destination is working fine. Also, to be able to exchange message, the structure of the Function Module ZABCD needs to be identified as the sender in XI Configuration (Integration Directory).
    Also, check your config with the blog mentioned below:
    <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit</a>
    Regards,
    Amitabha

  • ITunes not working properly with HP running Vista home premier

    My Ipod touch works fine on my windows XP pro system but does not sync photos and podcasts from my other computer at home: new HP Multimedia system running Vista Home Premier. It goes through all the motions but will only add a few photos from a file and they are partially corrupt. Many times it won't add any selected photos. Same with podcasts, they won't sync to the ipod. Have tried various USB ports.

    well, it is easy. i just wish it to sync in a manner that i do not get frustrated with it. it just does not like to sync when i open up itunes on desktop to update apps when they have updates. i have got to revert to plugging in the phone and ipad for it to sync and update apps. if you read through the whole thing you would have found it out. all i am saying is that itunes 10.6.1 and ios 5.1 have bugs and issues that make it hard for a iphone and ipad user to sync and update apps. itunes is slow to open with windows 7 as well as i did not mention that before but i have mentioned it in my other forum posts.
    summary:
    itunes 10.6.1, is slow to open on windows 7,
    syncing ipad and iphone does not update without plugging them in.
    wifi sync is not working properly or as it should, it doesn't recognize phone and ipad unless plugged in.

  • JDeveloper 11.1.1.0.2: "Go to Declaration" function not working properly

    Hi all,
    We have updated to the new release of JDeveloper and converted our project to this new version.
    But now the function "Go to Declaration" (also available using ctrl key + click on the class) does not work properly.
    Although we have the source included in the library some classes are opened ok but some in the same package are not.
    This problem has occurred on two different installations.
    Have someone any idea where could be a problem?
    Thanks
    Steven

    It does nothing. And the source for classes where it works are in same JAR as the source for classes where it doesn´t work.
    Example:
    we have our class:
    public abstract class FormularController extends org.springframework.web.servlet.mvc.SimpleFormController {
    when I click on SimpleFormController (with ctrl key) it works ok, it opens SimpleFormController:
    public class SimpleFormController extends org.springframework.web.servlet.mvc.AbstractFormController {
    but now when I click on AbstractFormController (with ctrl key) it does nothing.
    In previous version of JDeveloper it works fine.
    And when I create a brand new application in new JDeveloper it works also ok.

  • IOS4 bluetooth functions not working properly?

    Hello there,
    I have the iPhone 3Gs and it is updated with the iOS 4.0.1. The problem I'm having is that, not all of the bluetooth functions are working properly as it used to before, and I wanted to know if there was away of letting Apple know about it so that it could be fixed. I believe it's just a software issue, where there is a delay in conncetivity from phone to headset, but I'm not sure. I own the new, "Jawbone Icon" and it used to work fine before I've updated to the new iOS 4.0. I've tried doing a total rest with both iphone and bluetooth and both methods were unsuccessful. I've actually tested my bluetooth headset with another iPhone, that still had the previous iOS 3.1.3 software, and it worked exactly how it should compared to my updated iOS 4.0.1 iPhone.
    The main problem I have is that for one, I no longer hear my phone's message tone in my headset when I recieve a text message, push notification, or even email to my iPhone. Before, with the iOS 3.1.3 software, I would alway here my message tone when I recieve any of those notifications. Which was convinient when I had my phone in my pocket and was in an area where I couldn't hear my phone when I recieved a message.
    The other problem I have is that, while my phone is ringing, I would hear my ringtone through my bluetooth while the caller id function was being read to me. This was a little distracting at first, but not too much of a problem. The problem is, when my phone rings and my "Jawbone" reads back to me the caller's number - when I pressed the sleep/wake button to slients my phone, it would also cancel the caller id function that my bluetooth offers. This was a little inconvinient, especially while I was driving. In the state the I live in, while driving, the driver is not allowed to talk on their phone unless it is connected to a bluetooth device. Which is the reason why it would be the reason why i enjoy the caller id function provided by "Jawbone".
    If there is anyone that could help me with this problem, or possible help me find a way to send this to Apple, I would greatly appreciate it. If anything, I believe that the new iPhone iOS 4.01 software has a slight delay on their bluetooth connectivity from phone to headset. But, nevertheless, any help or ideas would be greatly appreciated!
    Thanks!
    Yung Vibe

    Yung,
    Consider rolling back the OS if you can. Apple support should be able to help.
    The bluetooth functionality in IOS 4 is definitely different and not for the better. I'm having serious sound quality and connectivity issues with both the Jawbone II and the Blue Ant Q1. I've called both support groups and bottom line is that IOS 4 has changed and the vendors haven't caught up or the OS has issues that the vendors cant compensate for. I've had to abandon the headsets and move to the delivered earphones. Even that approach has issues if you dont turn off the blue tooth IOS 4 will continue to connect to the bluetooth headset mid conversation. That's a new issue as well. Previous OS made the corded headset the priority and never let the bluetooth take over if the cord was plugged in. I hope Apple is working on this it's darn frustrating and I have an Iphone 4 therefore I cant roll back the OS to 3.

Maybe you are looking for

  • In the google search box, when i click the dropdown suggestion, it does not register the suggestion in the box, what goes wrong

    i have just upgraded my firefox 3 to firefox 4, with V3 i can click the dropdown suggestion and search, now with V4 the clicked suggestion does not go to the search box. i have used the search tool and ticked the enable box, still it has not worked.

  • Adware, viruses etc

    I have been wondering if there is any antivirus/trojan software around for Macs. Is it neccessary? Viruses might not be designed for OSX but doesn't adware effect it? After years of using Windows I'm not used to being online without this protection.

  • Pass parameters into CellRenderer

    Hello! I want to pass parameters into CellRenderer. How can I do that?

  • Delete Server Bahavior

    I am trying to create a delete record page page as instructed in the Dreamweaver help pages.  All pages work perfectly until I add the delete record behavior on the confirmation page.  The problem is that the confirm button never gets to work.  The d

  • Giving Template Access to Web Site Authors

    Is there a way to allow Dreamweaver users who have sites within our main to have access to a root folder that includes templates for the site? This template has server side includes. Thanks in advance! Rod